-
Notifications
You must be signed in to change notification settings - Fork 638
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
diff doesn't work for first commit #1124
Comments
I remember having an issue with the very first commit of a new repo as ungit try to compare with previous commit that doesn't exist. I don't remember if I ever fixed it, but will fix it |
You have to add another commit and modify the file to reproduce the error |
Ah Okay, will retest later and reevaluate |
This also happens if you look for an old commit and locally modify the same file as one in the commit. Then the diff for the select file in the commit will show the current file content |
Because of this line:
ungit/source/git-promise.js
Line 288 in 2aae26a
If you want to see the diff of the very first commit of a git repo you will see the current file content instead of the original one.
The text was updated successfully, but these errors were encountered: