-
-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(log): fix error being thrown when using 'filepath' parameter #1589
Conversation
Can you add a unit test for the fix you made? |
… into fix/git-log-filepath
…omorphic-git into fix/git-log-filepath
Added. |
Thanks, one more, can you use normal snapshots not embedded in code? |
I can, but inline snapshots are used for every other test, this one would be the only one not using them. Do you still want me to replace the inline snapshots? |
ok, I didn't realize that the library doesn't use normal snapshots. |
One more thing, did you add yourself as a contributor? You can create another PR with your name added. |
🎉 This PR is included in version 1.17.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
…morphic-git#1589) * fix(log): fix error being thrown when using 'filepath' parameter * add tests for git log when targeting a newly added file
Once we find the last occurrence of a file in the commit history (not using
force
orfollow
), we should try to break first instead of throwing an error.Should fix #1558