Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint-1.7.6' into maint-1.7.7
[gitweb.git]
/
builtin
/
apply.c
diff --git
a/builtin/apply.c
b/builtin/apply.c
index 311a94e18195c611b55de7d1619da890aca240af..082fe8f3e3e6088adcce4b54ae351c4ec1f03786 100644
(file)
--- a/
builtin/apply.c
+++ b/
builtin/apply.c
@@
-250,9
+250,6
@@
static int fuzzy_matchlines(const char *s1, size_t n1,
const char *last2 = s2 + n2 - 1;
int result = 0;
- if (n1 < 0 || n2 < 0)
- return 0;
-
/* ignore line endings */
while ((*last1 == '\r') || (*last1 == '\n'))
last1--;