{"thread":{"id":"37468","subject":"[PATCH] wt-status.c: Expand cut_line so the scissor line is 72 chars","startedAt":"2014-09-01T00:07:25Z","lastAt":"2014-09-01T00:07:25Z","messageCount":1,"participants":["Øyvind A. Holm"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"248697","messageId":"1409530045-12866-1-git-send-email-sunny@sunbase.org","threadId":"37468","inReplyTo":null,"subject":"[PATCH] wt-status.c: Expand cut_line so the scissor line is 72 chars","fromName":"Øyvind A. Holm","fromEmail":"sunny@sunbase.org","sentAt":"2014-09-01T00:07:25Z","receivedAt":"2014-09-01T00:07:25Z","isPatch":true,"sender":{"key":"sunny@sunbase.org","avatar":"https://avatars.githubusercontent.com/u/113445?v=4"},"body":"Change the size of the commit scissor line to 72 characters (the\nrecommended maximum line length in log messages) so it can be used as a\nvisual clue in editors using monospaced fonts.\n\nSigned-off-by: Øyvind A. Holm <sunny@sunbase.org>\n---\n Documentation/git-commit.txt | 2 +-\n t/t7502-commit.sh            | 2 +-\n wt-status.c                  | 2 +-\n 3 files changed, 3 insertions(+), 3 deletions(-)\n\ndiff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt\nindex 0bbc8f5..d24573f 100644\n--- a/Documentation/git-commit.txt\n+++ b/Documentation/git-commit.txt\n@@ -189,7 +189,7 @@ verbatim::\n scissors::\n \tSame as `whitespace`, except that everything from (and\n \tincluding) the line\n-\t\"`# ------------------------ >8 ------------------------`\"\n+\t\"`# --------------------------------- >8 ---------------------------------`\"\n \tis truncated if the message is to be edited. \"`#`\" can be\n \tcustomized with core.commentChar.\n default::\ndiff --git a/t/t7502-commit.sh b/t/t7502-commit.sh\nindex 051489e..8b2ec6b 100755\n--- a/t/t7502-commit.sh\n+++ b/t/t7502-commit.sh\n@@ -229,7 +229,7 @@ test_expect_success 'cleanup commit messages (scissors option,-F,-e)' '\n \tcat >text <<EOF &&\n \n # to be kept\n-# ------------------------ >8 ------------------------\n+# --------------------------------- >8 ---------------------------------\n to be removed\n EOF\n \techo \"# to be kept\" >expect &&\ndiff --git a/wt-status.c b/wt-status.c\nindex 27da529..010632c 100644\n--- a/wt-status.c\n+++ b/wt-status.c\n@@ -18,7 +18,7 @@\n #include \"utf8.h\"\n \n static const char cut_line[] =\n-\"------------------------ >8 ------------------------\\n\";\n+\"--------------------------------- >8 ---------------------------------\\n\";\n \n static char default_wt_status_colors[][COLOR_MAXLEN] = {\n \tGIT_COLOR_NORMAL, /* WT_STATUS_HEADER */\n-- \n2.1.0.29.g10a3b53\n"}]}