Re: [PATCH v2 3/8] Teach git var about GIT_EDITOR
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 31, 2009, 02:01 UTC
- Message-ID
- <7vk4yccodl.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20091031013934.GD5160@progeny.tock>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 25 quoted lines
> From: Johannes Sixt <j6t@kdbg.org> > > Expose the command used by launch_editor() for scripts to use. > This should allow one to avoid searching for a proper editor > separately in each command. > > If no satisfactory GIT_EDITOR could be chosen, let "git var -l" > output a warning. This warning goes to stderr so as not to > confuse scripts. Example: > > core.logallrefupdates=true > > *** Please tell me who you are. > > Run > > git config --global user.email "you@example.com" > git config --global user.name "Your Name" > > to set your account's default identity. > Omit --global to set the identity only in this repository. > > GIT_COMMITTER_IDENT=user <user@domain> 1256952739 -0500 > GIT_AUTHOR_IDENT=user <user@domain> 1256952739 -0500 > warning: GIT_EDITOR: terminal is dumb, but EDITOR unset
Sorry, I cannot grok this example. Is it supposed to be a transcript of a user session? What did the user type?