Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/allow-ff-merging-kept-tags' into next
[gitweb.git]
/
apply.c
diff --git
a/apply.c
b/apply.c
index 40a368b3153f90ff0061894d0af5db5b401a00d9..7c88d4ee71304825a475fc1e67ed38b48621cb3a 100644
(file)
--- a/
apply.c
+++ b/
apply.c
@@
-950,7
+950,7
@@
static int gitdiff_verify_name(struct apply_state *state,
}
free(another);
} else {
- if (!
starts_with(line, "/dev/null\n"
))
+ if (!
is_dev_null(line
))
return error(_("git apply: bad git-diff - expected /dev/null on line %d"), state->linenr);
}