Re: edit Author/Date metadata as part of 'git commit' $EDITOR invocation?
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Jan 4, 2010, 20:32 UTC
- Message-ID
- <fabb9a1e1001041232h4e5827d1pb5c648b33ecfb5ce@mail.gmail.com>
- In-Reply-To
- <xuu2fx6m4vdi.fsf@nowhere.com>
Heya,
On Sun, Jan 3, 2010 at 18:32, Adam Megacz <adam@megacz.com> wrote:
Show 5 quoted lines
> I've been having problems lately with running git on machines where > I forgot to set up my .gitconfig; I wind up with patches that have > committers like root@mymachine and so forth. Being automatically > shown the committer/author when I make the commit would help me > avoid these situations.
At the very least it should be easy to include these fields as comments in the message template. But of course you would still be bitten if you used "git commit -m" :(.
-- Cheers, Sverre Rabbelier