Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
ls-files: use correct format string
[gitweb.git]
/
builtin
/
prune.c
diff --git
a/builtin/prune.c
b/builtin/prune.c
index 41230f82157e48b2cd6741deae8de0e0d1c3be61..1ec9ddd751df6644d2c39ace41a1494800082638 100644
(file)
--- a/
builtin/prune.c
+++ b/
builtin/prune.c
@@
-161,7
+161,7
@@
int cmd_prune(int argc, const char **argv, const char *prefix)
free(s);
if (is_repository_shallow(the_repository))
- prune_shallow(show_only);
+ prune_shallow(show_only
? PRUNE_SHOW_ONLY : 0
);
return 0;
}