commit | 6f9f3b263b1c86889d6fae0d50c75be0f3227003 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <junkio@cox.net> | Sat Nov 04 02:28:53 2006 -0800 |
committer | Junio C Hamano <junkio@cox.net> | Sat Nov 04 02:35:17 2006 -0800 |
tree | 542e1318c6b7357d3b921c44a5197b9a88ac25f5 | |
parent | ba158a32b9e237912ebe7dfe7bd56e2c531cb062 [diff] |
apply: handle "traditional" creation/deletion diff correctly. We deduced a GNU diff output that does not use /dev/null convention as creation (deletion) diff correctly by looking at the lack of context and deleted lines (added lines), but forgot to reset the new (old) name field properly. This was a regression when we added a workaround for --unified=0 insanity. Signed-off-by: Junio C Hamano <junkio@cox.net>