summaryrefslogtreecommitdiffstatshomepage
path: root/ui-atom.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-atom.c')
-rw-r--r--ui-atom.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui-atom.c b/ui-atom.c
index 881872c..5c854c7 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) {