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

Re: Retroactively change email signature? [resend]

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Jan 4, 2008, 18:34 UTC
Message-ID
<alpine.LFD.1.00.0801041031590.2811@woody.linux-foundation.org>
In-Reply-To
<477C7837.9000303@vilain.net>
On Thu, 3 Jan 2008, Sam Vilain wrote:
> 
> Assuming, of course, that the commit you refer to in a message like that
> is in your history.  If it's referring to another commit in a different
> branch, which may be being re-written, you've got two problems:

I don't care. If some commit refers to another commit that isn't its ancestor, then that is undefined *anyway*.

So the only case that really matters is when you refer to your own strict ancestor.

This is one reason why it was so crazy that "git cherry-pick" used to have "-x" by default - appending the original SHA1 (which is generally *not* an ancestor) is meaningless and stupid.

But in the case of "git revert", it should be an ancestor (or the _user_ is just insane, in which case it doesn't matter - insane people can do insane things)

		Linus
Previous: Sam VilainNext: Sam Vilain
Message 7 of 9 in “Retroactively change email signature?”
  1. Stephen SinclairJan 2, 2008
  2. Jakub NarebskiJan 2, 2008
  3. Linus TorvaldsJan 2, 2008
  4. Stephen SinclairJan 2, 2008
  5. David BrownJan 3, 2008
  6. Sam VilainJan 3, 2008
  7. Linus TorvaldsJan 4, 2008
  8. Sam VilainJan 4, 2008
  9. Sam VilainJan 4, 2008

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.