From: Torben Hohn <torbenh@linutronix.de>
To: git@vger.kernel.org
Subject: corner case with rename tracking and reverts
Date: Mon, 2 Jul 2012 14:47:54 +0200 [thread overview]
Message-ID: <20120702124754.GA25882@localhost.localdomain> (raw)
[-- Attachment #1: Type: text/plain, Size: 815 bytes --]
Hi...
i just came over some issue, where the rename tracking got confused.
I wanted to revert a commit to a moved file. But because it touched an
empty file, this seems to have confused the rename tracking.
(there were a few empty files there)
Attached is a shell script, that reproduces the issue.
The Problem is, that bla2 shows up in omg3, when "bla2 empty" is
reverted.
This was produced with git 1.7.10 from debian.
--
Mit freundlichen Grüßen
Torben Hohn
Linutronix GmbH
Standort: Bremen
Phone: +49 421 166 73 41 ; Fax.: +49 7556 919 886
mailto: torbenh@linutronix.de
Firmensitz / Registered Office: D-88690 Uhldingen, Auf dem Berg 3
Registergericht / Local District Court: Freiburg i. Br., HRB Nr. / Trade
register no.: 700 806;
Geschäftsführer / Managing Directors: Heinz Egger, Thomas Gleixner
[-- Attachment #2: revert-mv.sh --]
[-- Type: application/x-sh, Size: 685 bytes --]
next reply other threads:[~2012-07-02 12:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-02 12:47 Torben Hohn [this message]
2012-07-02 21:07 ` corner case with rename tracking and reverts Jeff King
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120702124754.GA25882@localhost.localdomain \
--to=torbenh@linutronix.de \
--cc=git@vger.kernel.org \
/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.
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 NNTP newsgroup(s).