Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
lock_file: make function-local locks non-static
[gitweb.git]
/
apply.c
diff --git
a/apply.c
b/apply.c
index 134dc7ba78cddd99406b78a97898bd8a32393b4c..3d43212ab9a44067632e1176bd810b685881af90 100644
(file)
--- a/
apply.c
+++ b/
apply.c
@@
-4058,7
+4058,7
@@
static int build_fake_ancestor(struct apply_state *state, struct patch *list)
{
struct patch *patch;
struct index_state result = { NULL };
- st
atic struct lock_file lock
;
+ st
ruct lock_file lock = LOCK_INIT
;
int res;
/* Once we start supporting the reverse patch, it may be