From: Junio C Hamano Date: Fri, 19 Jul 2019 19:51:29 GMT Subject: Re: [RFC PATCH 1/9] t3404: demonstrate that --edit-todo does not check for dropped commits Message-ID: In-Reply-To: <2836634.HGSAIcGHtf@andromeda> Alban Gruin writes: >> > + 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.