From: Johannes Sixt <j6t@kdbg.org>
To: Lars Schneider <larsxschneider@gmail.com>
Cc: Jeff King <peff@peff.net>, Elijah Newren <newren@gmail.com>,
Git Mailing List <git@vger.kernel.org>
Subject: Re: [BUG] Symbolic links break "git fast-export"?
Date: Sun, 30 Jun 2019 20:28:25 +0200 [thread overview]
Message-ID: <5b00da7c-6836-0e61-8262-a9035126b658@kdbg.org> (raw)
In-Reply-To: <25624E1D-55F1-466D-92E0-F06C1909F920@gmail.com>
Am 30.06.19 um 15:05 schrieb Lars Schneider:
>> 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
next prev parent reply other threads:[~2019-06-30 18:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-24 11:03 [BUG] Symbolic links break "git fast-export"? Lars Schneider
2019-06-24 12:33 ` Elijah Newren
2019-06-24 18:58 ` Jeff King
2019-06-30 13:05 ` Lars Schneider
2019-06-30 18:28 ` Johannes Sixt [this message]
2019-07-01 17:45 ` Elijah Newren
2019-06-30 14:01 ` Lars Schneider
2019-07-01 18:02 ` Elijah Newren
2019-06-24 12:55 ` Elijah Newren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5b00da7c-6836-0e61-8262-a9035126b658@kdbg.org \
--to=j6t@kdbg.org \
--cc=git@vger.kernel.org \
--cc=larsxschneider@gmail.com \
--cc=newren@gmail.com \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).