git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Possible BUG in 'git config'
@ 2007-02-11 14:13 Marco Costalba
  2007-02-11 16:24 ` Johannes Schindelin
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Costalba @ 2007-02-11 14:13 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: GIT list

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-02-11 17:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-11 14:13 Possible BUG in 'git config' Marco Costalba
2007-02-11 16:24 ` Johannes Schindelin
2007-02-11 17:21   ` Marco Costalba
2007-02-11 17:37     ` Johannes Schindelin
2007-02-11 17:47       ` Marco Costalba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).