From: Junio C Hamano Date: Thu, 04 Mar 2021 00:55:54 GMT Subject: Re: Round-tripping fast-export/import changes commit hashes Message-ID: In-Reply-To: <08f31194-dce6-9434-c362-94d9a2d97563@kdbg.org> Johannes Sixt writes: > Am 02.03.21 um 22:52 schrieb anatoly techtonik: >> For my use case, where I just need to attach another branch in >> time without altering original commits in any way, `reposurgeon` >> can not be used. > > What do you mean by "attach another branch in time"? Because if you > really do not want to alter original commits in any way, perhaps you > only want `git fetch /the/other/repository master:the-other-one-s-master`? Yeah, I had the same impression. If a bit-for-bit identical copy of the original history is needed, then fetching from the original repository (either directly or via a bundle) would be a much simpler and performant way. Thanks.