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

Re: [PATCH] git-am: Add --ignore-date option

From
Adeodato Simó <dato@net.com.org.es>
Date
Jan 23, 2009, 13:17 UTC
Message-ID
<20090123131711.GA11507@chistera.yi.org>
In-Reply-To
<alpine.DEB.1.00.0901231336080.3586@pacific.mpi-cbg.de>
* Johannes Schindelin [Fri, 23 Jan 2009 13:38:34 +0100]:
> FWIW I have that problem in one of my workflows, and I do this:
> 	grep -v "^Date:" < $MBOX | git am
> Of course, this assumes that none of my commit messages has the string 
> "Date:" at the beginning of the line...
In case you're interested:
    % formail -I 'Date' -s < $MBOX | git am

is robust against your assumption being wrong. (I realize ^Date: is not very likely in commit messages, but I thought I'd mention nevertheless.)

Cheers,
-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
- Are you sure we're good?
- Always.
                -- Rory and Lorelai
Previous: Johannes SchindelinNext: Christian MICHON
Message 15 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.