[StGIT PATCH 1/2] Have series show empty hidden patches as hidden rather than empty.
- From
Yann Dirson <ydirson@altern.org>
- Date
- Jun 9, 2007, 17:25 UTC
- Message-ID
- <20070609172520.30912.80799.stgit@gandelf.nowhere.earth>
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 "!". ---
stgit/commands/series.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
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)