Re: [BUG] Symbolic links break "git fast-export"?
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Jun 30, 2019, 18:28 UTC
- Message-ID
- <5b00da7c-6836-0e61-8262-a9035126b658@kdbg.org>
- In-Reply-To
- <25624E1D-55F1-466D-92E0-F06C1909F920@gmail.com>
Am 30.06.19 um 15:05 schrieb Lars Schneider:
Show 8 quoted lines
>> On Jun 24, 2019, at 11:58 AM, Jeff King <peff@peff.net> wrote: >> You'd have to split the renames into separate delete/adds, since they >> can have a circular dependency. E.g. renaming "foo" to "bar" and "bar" >> to "foo", you must remove "foo" and "bar" both, and then add them back >> in. > > @peff: Can you give me a hint how one would perform this circular > dependency in a single commit? I try to write a test case for this.
git mv Makefile foo git mv COPYING Makefile git mv foo COPYING git diff -B HEAD
-- Hannes