Re: [GSoC][PATCH v2 5/6] rebase -i: support --ignore-date
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 14, 2019, 19:33 UTC
- Message-ID
- <xmqq8srv5ypo.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <c03439bf-54bf-b53d-9400-bdc4dd2a1309@gmail.com>
Phillip Wood <phillip.wood123@gmail.com> writes:
> That's an important distinction, particularly if GIT_COMMITTER_DATE is > set in the environment - are we aiming to have the author and > committer dates match or are we just resetting the author date to now? > Rohit - do you know which --ignore-date does in the am based rebase?
The purpose "am --ignore-date" was to ignore "Date:" that came from the patch message, overriding it with the current date. It might have become harder to read in the C version, but "git show v2.0.0:git-am.sh" would be an easier way to read how "--ignore-date" wanted to behave.