From: Junio C Hamano Date: Sun, 24 Feb 2008 18:06:38 GMT Subject: Re: [PATCH] Use user.name and user.email in import-tars.perl Message-ID: <7v3arixm8h.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1203857838-29505-1-git-send-email-mh@glandium.org> Mike Hommey writes: > Mimic what is done in git-import.sh and git-import.perl > > Signed-off-by: Mike Hommey > --- > > And that made me wonder if it wouldn't be worth, actually, to have > git config user.name and git config user.email return the "magic" values > gotten from guessing in ident.c when no value is in the config. That would > allow scripts, which have no other simple means to get the user name and > email, to have the same feature as builtins. Or perhaps use "git var GIT_COMMITTER_IDENT"?