GNOME Bugzilla – Bug 760119
Author Details global menu does not work if ~/.gitconfig file does not exist
Last modified: 2017-01-29 12:50:34 UTC
Hi. I have recently installed gitg to manage my git commits. When I tried to commit something, gitg notifies me that I do not have configured my authors details. Then I click on Author Details in the global menu but nothing happens. Another user as the same problem on Unix StackExchange : http://unix.stackexchange.com/questions/252282/how-to-edit-author-details-for-gitg?newreg=c5d1086c7b9344888584a62c955c668e I have noticed if the file ~/.gitconfig does not exist, the Author Details menu does not work. If I create an empty ~/.gitconfig file (touch ~/.gitconfig), the Author Details window appears and I can enter my information. I think the menu should work if this file does not exist. The window should appear with no detail then gitg create the file when you click on the Save button. I use gitg-3.18.0-1.fc23.x86_64 on Fedora 23.
Should be fixed on master, will now create an empty .gitconfig if it doesn't exist yet.
This is not fixed correctly, see https://bugzilla.gnome.org/show_bug.cgi?id=777899.