-
-
Notifications
You must be signed in to change notification settings - Fork 587
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
Command Commit [enter] closes/crashes gitui-win #74
Comments
After some testing I discovered that the bug does not occur after I run |
Good point! Currently it is expected to have the name set. Let me look into it |
should be fixed in |
I did a bit more looking around, and discovered I was wrong in my most recent comment. The git behaviour is it allows a commit to be made as long as at least a user.name or user.email is provided. The author shows up as When the condition is not met it shows the So, as it is right now gitui does not allow me to make a commit when git commit allows me to. Good work, by the way! :) |
I am not sure I follow. Does the crash persist for you? Is there a different behavior that we need to look into? |
@alistaircarscadden make sure to reopen the ticket if there is still the issue |
The crash is fixed, and I see the menu that you showed in your screenshot. I'm considering it may be a bug that gitui does not allow a commit in the same conditions git does allow one. The conditions are when a user.email is present, and a user.name is not. git commit works, but committing with gitui does not. e: but I am not familliar with the internals of your program, so to you this may be the correct behaviour. I would imagine it's needing a name for some reason, but if your program is just making a call to git commit, it should work. |
@alistaircarscadden what error does it show when trying to commit in those conditions? |
@alistaircarscadden |
Ok! It's more complicated than I thought, I'll make an issue. |
Describe the bug
In gitui-win v0.2.6 after staging, and after writing a commit message, pressing Enter abruptly closes the gitui.exe window. Inspecting the repo after shows that the commit is not made.
To Reproduce
Expected behavior
The commit should be made and the ui would update to reflect that without closing.
Desktop (please complete the following information):
gitui-win v0.2.6
The text was updated successfully, but these errors were encountered: