Re: [PATCH] git-am: Add --ignore-date option
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 23, 2009, 12:38 UTC
- Message-ID
- <alpine.DEB.1.00.0901231336080.3586@pacific.mpi-cbg.de>
- In-Reply-To
- <20090123172646.6117@nanako3.lavabit.com>
Hi,
[if you would have given a new mail subject to your mail, gitweb would stand a chance to find it]
On Fri, 23 Jan 2009, Nanako Shiraishi wrote:
Show 12 quoted lines
> Subject: [PATCH] git-am: Add --ignore-date option > > This new option makes the command ignore the date header field recorded in > the format-patch output. The commits will have the timestamp when they > are created instead. > > You can work a lot in one day to accumulate many changes, but apply and > push to the public repository only some of them at the end of the first > day. Then next day you can spend all your working hours reading comics or > chatting with your coworkers, and apply your remaining patches from the > previous day using this option to pretend that you have been working at > the end of the day.
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...
Ciao, Dscho