diff options
author | Raymond E. Pasco <ray@ameretat.dev> | 2020-08-08 03:53:23 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-09 11:14:29 -0700 |
commit | cb0dd22b827a0533a8ba105764388269e59d010c (patch) | |
tree | 5c79283df944289084e0b2943336dc8767933528 /t/t9400-git-cvsserver-server.sh | |
parent | difftool -d: ensure that intent-to-add files are handled correctly (diff) | |
download | tgif-cb0dd22b827a0533a8ba105764388269e59d010c.tar.xz |
diff-lib: use worktree mode in diffs from i-t-a entries
When creating "new file" diffs against i-t-a index entries, diff-lib
erroneously used the mode of the cache entry rather than the mode of the
file in the worktree. This changes run_diff_files() to correctly use the
mode of the worktree file in this case.
Signed-off-by: Raymond E. Pasco <ray@ameretat.dev>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9400-git-cvsserver-server.sh')
0 files changed, 0 insertions, 0 deletions