Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [BUG] diffcore-rename with duplicate tree entries can segfault

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:03:54

Possibly related (same subject, not in this thread)

Jeff King [off-list ref] writes:
I'm assuming there _is_ a sane sort order. We have two halves of a
filepair, but I think before any of the rename or break detection kicks
in, each pair should either:

  1. Have a name in pair->one, and an invalid filespec in pair->two
     (i.e., a deletion).

  2. The opposite (name in pair->two, /dev/null in pair->one). An
     addition.

  3. The same name in pair->one and pair->two.
I think creation and deletion are expressed with mode=0 and not with
/dev/null.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help