After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 760119 - Author Details global menu does not work if ~/.gitconfig file does not exist
Author Details global menu does not work if ~/.gitconfig file does not exist
Status: RESOLVED FIXED
Product: gitg
Classification: Applications
Component: gui
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: gitg-maint
gitg-maint
Depends on:
Blocks:
 
 
Reported: 2016-01-04 11:59 UTC by Damien Gombault
Modified: 2017-01-29 12:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Damien Gombault 2016-01-04 11:59:51 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.
Comment 1 jessevdk@gmail.com 2016-08-17 18:03:03 UTC
Should be fixed on master, will now create an empty .gitconfig if it
doesn't exist yet.
Comment 2 Christian Stadelmann 2017-01-29 12:50:34 UTC
This is not fixed correctly, see https://bugzilla.gnome.org/show_bug.cgi?id=777899.