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]
/
bundle.c
diff --git
a/bundle.c
b/bundle.c
index efe547e25fe2a53bd0ef7954cf3bec6d55218365..4fde31d210df29a590bf9773b119367f84964ccc 100644
(file)
--- a/
bundle.c
+++ b/
bundle.c
@@
-409,7
+409,7
@@
static int write_bundle_refs(int bundle_fd, struct rev_info *revs)
int create_bundle(struct bundle_header *header, const char *path,
int argc, const char **argv)
{
- st
atic struct lock_file lock
;
+ st
ruct lock_file lock = LOCK_INIT
;
int bundle_fd = -1;
int bundle_to_stdout;
int ref_count = 0;