Possible BUG in 'git config'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



bash-3.1$ cat ./.git/config
[i18n]
       commitencoding = UTF-8

bash-3.1$ git repo-config --global user.name
marco

bash-3.1$ git repo-config user.name
marco

I would expect git repo-config user.name returns an empty string,
because user.name is defined _only_ in global config file ~/.gitconfig

From git-config documentation:

--global::
	Use global ~/.gitconfig file rather than the repository .git/config.



How it is possible to know if a variable is stored in local config file?

Thanks
Marco
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]