summaryrefslogtreecommitdiff
path: root/builtin/read-tree.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-09-10 17:02:55 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-09-10 17:02:55 +0900
commit648a50a08ad3d6718899a30a438ff97b4bdda342 (patch)
treebdae2506cdf6e746359bd14473c86b16b7d67165 /builtin/read-tree.c
parentMerge branch 'cc/subprocess-handshake-missing-capabilities' into maint (diff)
parentapply: file commited with CRLF should roundtrip diff and apply (diff)
downloadtgif-648a50a08ad3d6718899a30a438ff97b4bdda342.tar.xz
Merge branch 'tb/apply-with-crlf' into maint
"git apply" that is used as a better "patch -p1" failed to apply a taken from a file with CRLF line endings to a file with CRLF line endings. The root cause was because it misused convert_to_git() that tried to do "safe-crlf" processing by looking at the index entry at the same path, which is a nonsense---in that mode, "apply" is not working on the data in (or derived from) the index at all. This has been fixed. * tb/apply-with-crlf: apply: file commited with CRLF should roundtrip diff and apply convert: add SAFE_CRLF_KEEP_CRLF
Diffstat (limited to 'builtin/read-tree.c')
0 files changed, 0 insertions, 0 deletions