Re: edit Author/Date metadata as part of 'git commit' $EDITOR invocation?
- From
- Adam Megacz <adam@megacz.com>
- Date
- Jan 4, 2010, 21:08 UTC
- Message-ID
- <xuu2zl4tfuij.fsf@nowhere.com>
- In-Reply-To
- <fabb9a1e1001041232h4e5827d1pb5c648b33ecfb5ce@mail.gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> writes:
Show 9 quoted lines
> On Sun, Jan 3, 2010 at 18:32, Adam Megacz <adam@megacz.com> wrote: >> 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.
That would be great.
> But of course you would still be bitten if you used "git commit -m" > :(.
Perhaps a preference (off by default) demanding that they be set explicitly when "git commit -m" is used?
Some people care more than others about the metadata; this is for the folks to whom it matters a lot.
- a