diff options
author | Junio C Hamano <junkio@cox.net> | 2005-05-05 15:35:49 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-05-05 15:35:49 -0700 |
commit | 660265909fc178581ef327076716dfd3550e6e7b (patch) | |
tree | 9fe5a9fe58366cdff6c54ab71ccdf58a59e982b7 /commit.h | |
parent | ed4eeaf203d0f293bd5ffc2a0ad8711f052db1f3 (diff) | |
download | git-660265909fc178581ef327076716dfd3550e6e7b.tar.gz |
diff-cache shows differences for unmerged paths without --cache.
While manually resolving a merge conflict, being able to run
diff-cache without --cache option between files in the work tree
and either of the ancestor trees is helpful to verify the hand
merged result. However, diff-cache refuses to handle unmerged
paths, even when run without --cache option.
This changes the behaviour so that the above use case will
report the differences between the compared tree and the magic
0{40} SHA1 (i.e. "look at the work tree"). When there is no
corresponding file in the work tree, or when the command is run
with "--cache" option, it continues to report "unmerged".
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions