-rw-r--r-- | ui-atom.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -87,3 +87,5 @@ void cgit_print_atom(char *tip, char *path, int max_count) - if (!tip) + if (ctx.qry.show_all) + argv[1] = "--all"; + else if (!tip) argv[1] = ctx.qry.head; |
index : patchwork/cgit.git | ||
cgit - fast webinterface for git |
summaryrefslogtreecommitdiffabout |
-rw-r--r-- | ui-atom.c | 4 |
@@ -87,3 +87,5 @@ void cgit_print_atom(char *tip, char *path, int max_count) - if (!tip) + if (ctx.qry.show_all) + argv[1] = "--all"; + else if (!tip) argv[1] = ctx.qry.head; |