Election-Tech-Initiative / Election-Tech-Initiative/electionguard-core2

🐞 .gitattributes vs. content inconsistency

Open
#510 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
14
Forks
12
PR merge metrics
No merged PRs in 30d

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Current Behavior

The electionguard-core2 repo's `.gitattributes` specifies eol=lf but the files were committed with CRLF. Thus, clones will be immediately dirty.

To remedy, make the specification agree with the contents. I propose that the right answer is to follow standard line ending conventions used the world-over for technical artifacts, which would mean fixing the files in the repository that were updated by someone on Windows that did not understand these kinds of things.

### Expected Behavior

_No response_

### Steps To Reproduce

_No response_

### Environment

```markdown
- OS:
```

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by inspecting .gitattributes and the repository files it matches, then use Git to identify which tracked files have CRLF content despite the eol=lf rule. Done means the tracked files and attribute specification agree so a fresh clone does not immediately show line-ending changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.