{"thread":{"id":"43743","subject":"[PATCH] Make filenames line up in git-status output","startedAt":"2006-10-26T14:17:24Z","lastAt":"2006-10-26T14:17:24Z","messageCount":1,"participants":["Andy Parkins"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"297647","messageId":"200610261517.24468.andyparkins@gmail.com","threadId":"43743","inReplyTo":null,"subject":"[PATCH] Make filenames line up in git-status output","fromName":"Andy Parkins","fromEmail":"andyparkins@gmail.com","sentAt":"2006-10-26T14:17:24Z","receivedAt":"2006-10-26T14:17:24Z","isPatch":true,"sender":{"key":"andyparkins@gmail.com","avatar":null},"body":"When all the filenames line up it's much easier to copy and paste them\nsomewhere else, or to remove the \"modified:\", \"copied:\", etc prefix.\n\nSigned-off-by: Andy Parkins <andyparkins@gmail.com>\n---\n wt-status.c |   14 +++++++-------\n 1 files changed, 7 insertions(+), 7 deletions(-)\n\ndiff --git a/wt-status.c b/wt-status.c\nindex 4b74e68..3952809 100644\n--- a/wt-status.c\n+++ b/wt-status.c\n@@ -72,25 +72,25 @@ static void wt_status_print_filepair(int\n \tcolor_printf(color(WT_STATUS_HEADER), \"#\\t\");\n \tswitch (p->status) {\n \tcase DIFF_STATUS_ADDED:\n-\t\tcolor_printf(c, \"new file: %s\", p->one->path); break;\n+\t\tcolor_printf(c, \"new file:   %s\", p->one->path); break;\n \tcase DIFF_STATUS_COPIED:\n-\t\tcolor_printf(c, \"copied: %s -> %s\",\n+\t\tcolor_printf(c, \"copied:     %s -> %s\",\n \t\t\t\tp->one->path, p->two->path);\n \t\tbreak;\n \tcase DIFF_STATUS_DELETED:\n-\t\tcolor_printf(c, \"deleted: %s\", p->one->path); break;\n+\t\tcolor_printf(c, \"deleted:    %s\", p->one->path); break;\n \tcase DIFF_STATUS_MODIFIED:\n-\t\tcolor_printf(c, \"modified: %s\", p->one->path); break;\n+\t\tcolor_printf(c, \"modified:   %s\", p->one->path); break;\n \tcase DIFF_STATUS_RENAMED:\n-\t\tcolor_printf(c, \"renamed: %s -> %s\",\n+\t\tcolor_printf(c, \"renamed:    %s -> %s\",\n \t\t\t\tp->one->path, p->two->path);\n \t\tbreak;\n \tcase DIFF_STATUS_TYPE_CHANGED:\n \t\tcolor_printf(c, \"typechange: %s\", p->one->path); break;\n \tcase DIFF_STATUS_UNKNOWN:\n-\t\tcolor_printf(c, \"unknown: %s\", p->one->path); break;\n+\t\tcolor_printf(c, \"unknown:    %s\", p->one->path); break;\n \tcase DIFF_STATUS_UNMERGED:\n-\t\tcolor_printf(c, \"unmerged: %s\", p->one->path); break;\n+\t\tcolor_printf(c, \"unmerged:   %s\", p->one->path); break;\n \tdefault:\n \t\tdie(\"bug: unhandled diff status %c\", p->status);\n \t}\n-- \n1.4.3.3.g5bca6\n"}]}