git/list[1] front-page[2] threads[3] people[4] search[5] about
 

corner case with rename tracking and reverts

From
THTorben Hohn <torbenh@linutronix.de>
Date
Jul 2, 2012, 12:47 UTC
Message-ID
<20120702124754.GA25882@localhost.localdomain>
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
Next: Jeff King
Message 1 of 2 in “corner case with rename tracking and reverts”
  1. Torben HohnJul 2, 2012
  2. Jeff KingJul 2, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.