• J
    diff-index --cached --raw: show tree entry on the LHS for unmerged entries. · e9c84099
    Junio C Hamano 提交于
    This updates the way diffcore represents an unmerged pair
    somewhat.  It used to be that entries with mode=0 on both sides
    were used to represent an unmerged pair, but now it has an
    explicit flag.  This is to allow diff-index --cached to report
    the entry from the tree when the path is unmerged in the index.
    
    This is used in updating "git reset <tree> -- <path>" to restore
    absense of the path in the index from the tree.
    Signed-off-by: NJunio C Hamano <junkio@cox.net>
    e9c84099
diff.c 70.3 KB