chiark / gitweb /
Modify 'series' to use '#' instead of '|'
authorCatalin Marinas <catalin.marinas@gmail.com>
Thu, 20 Mar 2008 23:12:33 +0000 (23:12 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Thu, 20 Mar 2008 23:12:33 +0000 (23:12 +0000)
This is useful if the output is dumped to a file which is later used
for commands like 'float'. The text after '#' is considered a comment
and ignored.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/commands/series.py

index 3c0816e3c8d6f0d4ef45e4cf13d0a4e873756892..e3467cc1a539bb46e73afa81c4a4e7d821e35762 100644 (file)
@@ -100,9 +100,9 @@ def __print_patch(patch, branch_str, prefix, empty_prefix, length, options):
         patch_str = patch_str.ljust(length)
 
     if options.description:
-        out.stdout(prefix + patch_str + ' | ' + __get_description(patch))
+        out.stdout(prefix + patch_str + ' # ' + __get_description(patch))
     elif options.author:
-        out.stdout(prefix + patch_str + ' | ' + __get_author(patch))
+        out.stdout(prefix + patch_str + ' # ' + __get_author(patch))
     else:
         out.stdout(prefix + patch_str)