Re: [PATCH] cg-tag - add support for longer commit messages
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Oct 11, 2005, 14:57 UTC
- Message-ID
- <Pine.LNX.4.64.0510110754110.14597@g5.osdl.org>
- In-Reply-To
- <11289987493327-git-send-email-martin@catalyst.net.nz>
On Tue, 11 Oct 2005, Martin Langhoff wrote:
> > Added an -m switch that points to a filename which contains a (potentially > long) tag message.
At least core git has "-m 'message'" and "-F 'file'" (with long versions being "--message" and "--file" respectively) for this kind of thing in "git commit". Maybe it would be good to make that the standard interface.
When scripting, using a separate file is often inconvenient, and giving the message as an argument much nicer. So you do often want both.
Linus