Re: [RFC PATCH 1/9] t3404: demonstrate that --edit-todo does not check for dropped commits
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 19, 2019, 19:51 UTC
- Message-ID
- <xmqqimrxvm4e.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <2836634.HGSAIcGHtf@andromeda>
Alban Gruin <alban.gruin@gmail.com> writes:
Show 9 quoted lines
>> > + test_i18ncmp expect.2 actual && >> > + cp .git/rebase-merge/git-rebase-todo.backup \ >> > + .git/rebase-merge/git-rebase-todo && >> >> Why? Who uses this copy? >> > > The same technique is used in "rebase -i respects rebase.missingCommitsCheck = > error".
Ah, I misread the code. I thought you were making a copy in .backup that nobody looks at after the copy is made.