From: Yann Dirson Date: Tue, 12 Jun 2007 21:57:07 +0000 (+0100) Subject: Have series show empty hidden patches as hidden rather than empty. X-Git-Tag: v0.13~43 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/2270bc4dc08aa1923c20c3717e88236338f1fb46?ds=sidebyside Have series show empty hidden patches as hidden rather than empty. It is probably more important to show the hidden status of an empty patch, since "clean" will not delete it anyway, and the display would be ambiguous for a patch tagged "0" just before a patch tagged "!". --- diff --git a/stgit/commands/series.py b/stgit/commands/series.py index 402356c..fe4e468 100644 --- a/stgit/commands/series.py +++ b/stgit/commands/series.py @@ -215,4 +215,4 @@ def func(parser, options, args): __print_patch(p, branch_str, '- ', '0 ', max_len, options) for p in hidden: - __print_patch(p, branch_str, '! ', '0 ', max_len, options) + __print_patch(p, branch_str, '! ', '! ', max_len, options)