Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t0060: verify that absolute_path() fails if passed the empty string
[gitweb.git]
/
builtin
/
log.c
diff --git
a/builtin/log.c
b/builtin/log.c
index 906dca475af0ed51d499cce4a7c0a34f038c5810..54f24e2088651b70fadb6996f9558989b19d723f 100644
(file)
--- a/
builtin/log.c
+++ b/
builtin/log.c
@@
-462,6
+462,9
@@
int cmd_show(int argc, const char **argv, const char *prefix)
opt.tweak = show_rev_tweak_rev;
cmd_log_init(argc, argv, prefix, &rev, &opt);
+ if (!rev.no_walk)
+ return cmd_log_walk(&rev);
+
count = rev.pending.nr;
objects = rev.pending.objects;
for (i = 0; i < count && !ret; i++) {