src-d / go-git

Project has been moved to: https://github.com/go-git/go-git
https://github.com/go-git/go-git
Apache License 2.0
4.91k stars 542 forks source link

Log() returns list of commits, but commit with empty file skipped #1117

Open overshom opened 5 years ago

overshom commented 5 years ago

I have a repo with few commits. One of commits is about creating empty file.

When I use Repository.Log func it return a list of commits except the commit with a simple empty file inside of it.

I need to see a commit even if it contains an empty file.