diff --git a/builtin-apply.c b/builtin-apply.c
index f70ee98e2d68385124ac75b2c53f068e63a6bf86..db7cdce1d37e2984f4d2663bb86eaec7f33f5789 100644 (file)
--- a/builtin-apply.c
+++ b/builtin-apply.c
static char *gitdiff_verify_name(const char *line, int isnull, char *orig_name, const char *oldnew)
{
if (!orig_name && !isnull)
- return find_name(line, NULL, 1, 0);
+ return find_name(line, NULL, 1, TERM_TAB);
if (orig_name) {
int len;
len = strlen(name);
if (isnull)
die("git-apply: bad git-diff - expected /dev/null, got %s on line %d", name, linenr);
- another = find_name(line, NULL, 1, 0);
+ another = find_name(line, NULL, 1, TERM_TAB);
if (!another || memcmp(another, name, len))
die("git-apply: bad git-diff - inconsistent %s filename on line %d", oldnew, linenr);
free(another);