You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "linghengqian (via GitHub)" <gi...@apache.org> on 2026/07/12 07:52:22 UTC
[I] The content of `.gitattributes` is incorrect [shardingsphere-elasticjob]
linghengqian opened a new issue, #2523:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2523
## Bug Report
**For English only**, other languages will not accept.
Before report a bug, make sure you have:
- Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere-elasticjob/issues).
- Read documentation: [ElasticJob Doc](https://shardingsphere.apache.org/elasticjob/current/en/overview/).
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot reproduce it on current information, we will **close it**.
Please answer these questions before submitting your issue. Thanks!
### Which version of ElasticJob did you use?
- https://github.com/apache/shardingsphere-elasticjob/commit/857569814c9e9c281aa7062636e1688fe3bcb395
### Expected behavior
- The command `git clone git@github.com:linghengqian/shardingsphere-elasticjob.git` should not produce an error.
### Actual behavior
- The command `git clone git@github.com:linghengqian/shardingsphere-elasticjob.git` resulted in an error.
```bash
(ASF) is not a valid attribute name: .gitattributes:1
```
### Reason analyze (If you can)
- See https://github.com/apache/shardingsphere-elasticjob/pull/2515 .
### Steps to reproduce the behavior.
```bash
lingh@DESKTOP-0NONAVD:~/TwinklingLiftWorks/git/public$ git clone git@github.com:linghengqian/shardingsphere-elasticjob.git
Cloning into 'shardingsphere-elasticjob'...
Enter passphrase for key '/home/lingh/.ssh/id_ed25519':
remote: Enumerating objects: 90678, done.
remote: Counting objects: 100% (224/224), done.
remote: Compressing objects: 100% (119/119), done.
remote: Total 90678 (delta 73), reused 165 (delta 46), pack-reused 90454 (from 2)
Receiving objects: 100% (90678/90678), 44.87 MiB | 4.42 MiB/s, done.
Resolving deltas: 100% (38705/38705), done.
(ASF) is not a valid attribute name: .gitattributes:1
lingh@DESKTOP-0NONAVD:~/TwinklingLiftWorks/git/public$
```
### Example codes for reproduce this issue (such as a github link).
- Null.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] The content of `.gitattributes` is incorrect [shardingsphere-elasticjob]
Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian closed issue #2523: The content of `.gitattributes` is incorrect
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2523
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] The content of `.gitattributes` is incorrect [shardingsphere-elasticjob]
Posted by "dahyvuun (via GitHub)" <gi...@apache.org>.
dahyvuun commented on issue #2523:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2523#issuecomment-4978526527
@linghengqian Found it. Line 1 of .gitattributes has a UTF-8 BOM before the #. Since the BOM sits before the comment marker, git doesn't treat the line as a comment and tries to parse the license header as a pattern + attribute list, hitting (ASF) as an invalid attribute name. I'll open a fix.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] The content of `.gitattributes` is incorrect [shardingsphere-elasticjob]
Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #2523:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2523#issuecomment-4950437249
@dahyvuun Do you know why?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org