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

Re: how to force a commit date matching info from a mbox ?

From
Jeff King <peff@peff.net>
Date
Jan 23, 2009, 22:29 UTC
Message-ID
<20090123222906.GC11328@coredump.intra.peff.net>
In-Reply-To
<7vtz7qxsxc.fsf@gitster.siamese.dyndns.org>
On Fri, Jan 23, 2009 at 01:39:27AM -0800, Junio C Hamano wrote:
Show 8 quoted lines
> > --->8---
> > Subject: [PATCH] git-am: Add --ignore-date option
> 
> Good.
> 
> Leaving "Subject: " in saves me typing, because I do not have to insert it
> manually when editing the submitted patch in my MUA to chop off everything
> before the scissors.

Interesting to know. I have intentionally _not_ been including them, because I assumed you marked up _after_ git-am (i.e., via "git commit --amend) in which case you would have to delete it manually. I suppose it makes more sense to do so before git-am, though, since then it will respect From: fields and the like (which it would otherwise ignore, since they are blocked by all of the cover letter cruft that you will end up deleting).

So good to know, and I will start generating my patches differently.
-Peff
Previous: Junio C HamanoNext: Johannes Schindelin
Message 7 of 19 in “how to force a commit date matching info from a mbox ?”
  1. Christian MICHONJan 22, 2009
  2. Junio C HamanoJan 23, 2009
  3. Nanako ShiraishiJan 23, 2009
  4. Junio C HamanoJan 23, 2009
  5. Nanako ShiraishiJan 23, 2009
  6. Junio C HamanoJan 23, 2009
  7. Jeff KingJan 23, 2009
  8. Johannes SchindelinJan 24, 2009
  9. Jeff KingJan 24, 2009
  10. Johannes SchindelinJan 24, 2009
  11. Jeff KingJan 24, 2009
  12. Nanako ShiraishiJan 23, 2009
  13. Junio C HamanoJan 23, 2009
  14. Johannes SchindelinJan 23, 2009
  15. Adeodato SimóJan 23, 2009
  16. Christian MICHONJan 23, 2009
  17. Christian MICHONJan 23, 2009
  18. Johannes SchindelinJan 23, 2009
  19. Christian MICHONJan 23, 2009

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.