Re: git-commit: allow From: line to be entered in commit message
- From
Andreas Ericsson <ae@op5.se>
- Date
- Jan 12, 2006, 21:53 UTC
- Message-ID
- <43C6CFC5.5010902@op5.se>
- In-Reply-To
- <7vzmm1mcfz.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 7 quoted lines
> > If you typed that line, why somebody else's change ended up in > your working tree is a mystery to me, but let's say an > office-mate edited things for you and said "this should work. > test it out and if it is OK commit it for me." I have seen this > kind of thing done in real life. >
This happens from time to time where I work, but I think it would be more useful to have
--from="Some User <some.user@theoffice.org>"
which would save even more typing.
I had thought of coupling this with some translation-scheme thingie, so that "--from=jd" would be automagically converted to the proper name and email address. I first came to think about this when I imported most of our projects from CVS, but I ended up doing a quick-hack to git-cvsimport instead.
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231