git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Martin LanghoffNext: Petr Baudis
Message 2 of 3 in “cg-tag - add support for longer commit messages”
  1. cg-tag - add support for longer commit messagesMartin Langhoff, Oct 11, 2005
  2. Linus TorvaldsOct 11, 2005
  3. Petr BaudisOct 11, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.