projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add --temp and --stage=all options to checkout-index.
[git.git]
/
apply.c
diff --git
a/apply.c
b/apply.c
index
c369966
..
849a8b4
100644
(file)
--- a/
apply.c
+++ b/
apply.c
@@
-1402,7
+1402,8
@@
static int check_patch(struct patch *patch)
costate.not_new = 0;
costate.refresh_cache = 1;
if (checkout_entry(active_cache[pos],
- &costate) ||
+ &costate,
+ NULL) ||
lstat(old_name, &st))
return -1;
}