Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule deinit: unset core.worktree
[gitweb.git]
/
shallow.c
diff --git
a/shallow.c
b/shallow.c
index c7b6b3d9d8ad70360fbaf7a6d509aca0fd7b838f..9ff83cabcd3be2614f7ed770884ac237294b05e4 100644
(file)
--- a/
shallow.c
+++ b/
shallow.c
@@
-353,7
+353,7
@@
void advertise_shallow_grafts(int fd)
*/
void prune_shallow(int show_only)
{
- st
atic struct lock_file shallow_lock
;
+ st
ruct lock_file shallow_lock = LOCK_INIT
;
struct strbuf sb = STRBUF_INIT;
int fd;