diff options
author | Lars Hjemli | 2010-06-19 11:42:12 +0200 |
---|---|---|
committer | Lars Hjemli | 2010-06-19 11:42:12 +0200 |
commit | c2766deb67acb1eae2b36dc0f5811a9cabb6db20 (patch) | |
tree | 463ea4a4388f2c449dec9eb49b33f9c0942030d1 /ui-atom.c | |
parent | caf0825d97582d137387b8879867247e92cca022 (diff) | |
parent | 80476b0d2873eb212fad38487fd6189bd6629cbe (diff) | |
download | cgit-c2766deb67acb1eae2b36dc0f5811a9cabb6db20.tar.gz cgit-c2766deb67acb1eae2b36dc0f5811a9cabb6db20.tar.bz2 cgit-c2766deb67acb1eae2b36dc0f5811a9cabb6db20.zip |
Merge branch 'ag/atom-fixes'
Diffstat (limited to 'ui-atom.c')
-rw-r--r-- | ui-atom.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -85,7 +85,9 @@ void cgit_print_atom(char *tip, char *path, int max_count) | |||
85 | struct rev_info rev; | 85 | struct rev_info rev; |
86 | int argc = 2; | 86 | int argc = 2; |
87 | 87 | ||
88 | if (!tip) | 88 | if (ctx.qry.show_all) |
89 | argv[1] = "--all"; | ||
90 | else if (!tip) | ||
89 | argv[1] = ctx.qry.head; | 91 | argv[1] = ctx.qry.head; |
90 | 92 | ||
91 | if (path) { | 93 | if (path) { |