Npcap source has CR-LF at the ends of lines when checked out on UN*Xes
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 3.6k
- Forks
- 592
- PR merge metrics
- No merged PRs in 30d
Description
When I checkout git@github.com:nmap/npcap.git on my Mac running macOS, the source files have CR-LF rather than LF at the ends of lines.
I think Git can be configured to give files CR-LF line endings when checked out on Windows and LF-only line endings when checked out on UN*X, and that should be how the libpcap, tcpdump, and Wireshark Git repositories are set up (if that's not the case, please file issues on the libpcap or tcpdump repository or file a bug on the Wireshark Bugzilla).
If that's possible, that would be a little more convenient for those of us reading the code on UN*Xes.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by checking the repository's Git checkout attributes and line-ending configuration, comparing the behavior on macOS with the expected Windows behavior described in the issue. Done means source files check out with LF endings on Unix-like systems and CR-LF endings on Windows, without requiring manual conversion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100