libgit2 / git2go

Git to Go; bindings for libgit2. Like McDonald's but tastier.
MIT License
1.93k stars 316 forks source link

Typo in "DiffIgnoreWitespaceEol" #773

Closed zegl closed 3 years ago

zegl commented 3 years ago

The constant DiffIgnoreWitespaceEol contains a typo, and should be named DiffIgnoreWhitespaceEol (like it's libgit2-counterpart).

https://github.com/libgit2/git2go/blame/b1eec9a4662a2e64953aa83365f84f5c773b6399/diff.go#L434

I'll send a backwards compatible patch, with the missing "h" added.