Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
status: convert to use parse_pathspec
[gitweb.git]
/
builtin
/
apply.c
diff --git
a/builtin/apply.c
b/builtin/apply.c
index faf8e3088340ab2787c45b0e105a600fd54e51d3..0e9b631db6db422b1e938d6168b608e0a2ae8618 100644
(file)
--- a/
builtin/apply.c
+++ b/
builtin/apply.c
@@
-906,7
+906,7
@@
static void parse_traditional_patch(const char *first, const char *second, struc
patch->old_name = name;
} else {
patch->old_name = name;
- patch->new_name =
x
strdup(name);
+ patch->new_name =
null_
strdup(name);
}
}
if (!name)