summaryrefslogtreecommitdiffstats
path: root/sha1_file.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-15 02:15:07 +0100
committerJunio C Hamano <junkio@cox.net>2005-11-15 02:15:07 +0100
commit9add69b1b1f76db874ed899c46fbe0b252aa3c23 (patch)
treef2f66041e72c49a6badf3451e642ffdd507c35c2 /sha1_file.c
parentFix git-rev-list "date order" with --topo-order (diff)
downloadgit-9add69b1b1f76db874ed899c46fbe0b252aa3c23.tar.xz
git-9add69b1b1f76db874ed899c46fbe0b252aa3c23.zip
apply: fix binary patch detection.
The comparison to find "Binary files " string was looking at a wrong place when offset != 0. Also, we may have the full 40-byte textual sha1 on the index line; two off-by-one errors prevented it. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'sha1_file.c')
0 files changed, 0 insertions, 0 deletions