diff options
author | Lars Hjemli <hjemli@gmail.com> | 2010-06-19 11:42:12 +0200 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-06-19 11:42:12 +0200 |
commit | c2766deb67acb1eae2b36dc0f5811a9cabb6db20 (patch) | |
tree | 463ea4a4388f2c449dec9eb49b33f9c0942030d1 /ui-atom.c | |
parent | Merge branch 'lh/noweb' (diff) | |
parent | Add 'max-atom-items' config variable (diff) | |
download | cgit-pink-c2766deb67acb1eae2b36dc0f5811a9cabb6db20.tar.gz cgit-pink-c2766deb67acb1eae2b36dc0f5811a9cabb6db20.zip |
Merge branch 'ag/atom-fixes'
Diffstat (limited to '')
-rw-r--r-- | ui-atom.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui-atom.c b/ui-atom.c index 808b2d0..9f049ae 100644 --- a/ui-atom.c +++ b/ui-atom.c @@ -85,7 +85,9 @@ void cgit_print_atom(char *tip, char *path, int max_count) struct rev_info rev; int argc = 2; - if (!tip) + if (ctx.qry.show_all) + argv[1] = "--all"; + else if (!tip) argv[1] = ctx.qry.head; if (path) { |