Code

apply: notice creation/removal patches produced by GNU diff
authorJunio C Hamano <gitster@pobox.com>
Sat, 11 Jul 2009 01:38:08 +0000 (18:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 11 Jul 2009 13:41:15 +0000 (06:41 -0700)
commitc4593faf2df8f9c5e8ac409e40be991294a73e54
treeeba54dc5c4ddf4dc106352164746d942689b14c1
parent4ecbc178704ca6c1027a38483e98f5fe493b1322
apply: notice creation/removal patches produced by GNU diff

Unified context patch generated by GNU diff has UNIX epoch timestamp
on the side that does not exist when the patch is about a creation or
a deletion event.  Notice this convention when reading a non-git diff.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-apply.c
t/t4132-apply-removal.sh [new file with mode: 0755]