From: "Marco Costalba" <mcostalba@gmail.com>
To: "Junio C Hamano" <junkio@cox.net>
Cc: "GIT list" <git@vger.kernel.org>
Subject: Possible BUG in 'git config'
Date: Sun, 11 Feb 2007 15:13:27 +0100 [thread overview]
Message-ID: <e5bfff550702110613q315e1f7es4ca1a88b92e4c3e9@mail.gmail.com> (raw)
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
next reply other threads:[~2007-02-11 14:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-11 14:13 Marco Costalba [this message]
2007-02-11 16:24 ` Possible BUG in 'git config' Johannes Schindelin
2007-02-11 17:21 ` Marco Costalba
2007-02-11 17:37 ` Johannes Schindelin
2007-02-11 17:47 ` Marco Costalba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e5bfff550702110613q315e1f7es4ca1a88b92e4c3e9@mail.gmail.com \
--to=mcostalba@gmail.com \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).