summaryrefslogtreecommitdiff
path: root/builtin/log.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-09-14 21:24:18 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-09-14 21:24:18 -0700
commit78ed88d80a8cc9e2388ebe7631d71253e1d55aab (patch)
tree060b4e8f75accc932befb149c66bc8e4fa0bd6e5 /builtin/log.c
parentSync with 1.7.11.7 (diff)
parentcherry-pick/revert: respect order of revisions to pick (diff)
downloadtgif-78ed88d80a8cc9e2388ebe7631d71253e1d55aab.tar.xz
Merge branch 'mz/cherry-pick-cmdline-order' into maint
* mz/cherry-pick-cmdline-order: cherry-pick/revert: respect order of revisions to pick demonstrate broken 'git cherry-pick three one two' teach log --no-walk=unsorted, which avoids sorting
Diffstat (limited to 'builtin/log.c')
-rw-r--r--builtin/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/log.c b/builtin/log.c
index c22469cab6..dff79212d0 100644
--- a/builtin/log.c
+++ b/builtin/log.c
@@ -456,7 +456,7 @@ int cmd_show(int argc, const char **argv, const char *prefix)
init_revisions(&rev, prefix);
rev.diff = 1;
rev.always_show_header = 1;
- rev.no_walk = 1;
+ rev.no_walk = REVISION_WALK_NO_WALK_SORTED;
rev.diffopt.stat_width = -1; /* Scale to real terminal size */
memset(&opt, 0, sizeof(opt));