Re: Can't figure out some sense from the git-commit-tree man page
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 17, 2007, 17:09 UTC
- Message-ID
- <Pine.LNX.4.64.0708171808340.20400@racer.site>
- In-Reply-To
- <20070817165655.GA13891@glandium.org>
Hi,
On Fri, 17 Aug 2007, Mike Hommey wrote:
Show 33 quoted lines
> On Fri, Aug 17, 2007 at 05:52:52PM +0100, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: > > > > On Fri, 17 Aug 2007, Mike Hommey wrote: > > > > > ? committer name and email and the commit time. > > > If not provided, "git-commit-tree" uses your name, hostname and domain to > > > provide author and committer info. This can be overridden by either > > > .git/config file, or using the following environment variables. > > > (...) > > > > > > The "If not provided" part doesn't make sense. > > > > It does, if you know how to specify the committer info. Which the man > > page specifies how to provide: > > > > This can be overridden by either `.git/config` file, or using the > > following environment variables. > > > > GIT_AUTHOR_NAME > > GIT_AUTHOR_EMAIL > > GIT_AUTHOR_DATE > > GIT_COMMITTER_NAME > > GIT_COMMITTER_EMAIL > > GIT_COMMITTER_DATE > > EMAIL > > This is exactly where the man page doesn't make sense to me. It tells > you that if you don't provide committer name, etc. it uses your name, > hostname, etc., and you can override this with .git/config or the > environment variable you listed. > > So where were you supposed to provide these informations in the first > place ?
In /etc/passwd. Like on every Unix system. (Oh yeah, there is NIS and other things, but in effect it is the same system.)
Ciao, Dscho