{"thread":{"id":"45196","subject":"[PATCH] git add -i: replace \\t with blanks in the help message","startedAt":"2017-02-22T18:46:49Z","lastAt":"2017-02-22T20:50:59Z","messageCount":2,"participants":["Ralf Thielow","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"312329","messageId":"20170222184627.3811-1-ralf.thielow@gmail.com","threadId":"45196","inReplyTo":null,"subject":"[PATCH] git add -i: replace \\t with blanks in the help message","fromName":"Ralf Thielow","fromEmail":"ralf.thielow@gmail.com","sentAt":"2017-02-22T18:46:27Z","receivedAt":"2017-02-22T18:46:49Z","isPatch":true,"sender":{"key":"ralf.thielow@gmail.com","avatar":"https://avatars.githubusercontent.com/u/1275832?v=4"},"body":"Within the help message of 'git add -i', the 'diff' command uses one\ntab character and blanks to create the space between the name and the\ndescription while the others use blanks only.  So if the tab size is\nnot at 4 characters, this description will not be in range.\nReplace the tab character with blanks.\n\nSigned-off-by: Ralf Thielow <ralf.thielow@gmail.com>\n---\n git-add--interactive.perl | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/git-add--interactive.perl b/git-add--interactive.perl\nindex cf6fc926a..982593c89 100755\n--- a/git-add--interactive.perl\n+++ b/git-add--interactive.perl\n@@ -1678,7 +1678,7 @@ status        - show paths with changes\n update        - add working tree state to the staged set of changes\n revert        - revert staged set of changes back to the HEAD version\n patch         - pick hunks and update selectively\n-diff\t      - view diff between HEAD and index\n+diff          - view diff between HEAD and index\n add untracked - add contents of untracked files to the staged set of changes\n EOF\n }\n-- \n2.12.0.rc2.424.g63d3652c7\n\n"},{"id":"312338","messageId":"xmqqlgsyar1d.fsf@gitster.mtv.corp.google.com","threadId":"45196","inReplyTo":"20170222184627.3811-1-ralf.thielow@gmail.com","subject":"Re: [PATCH] git add -i: replace \\t with blanks in the help message","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2017-02-22T20:50:38Z","receivedAt":"2017-02-22T20:50:59Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Ralf Thielow <ralf.thielow@gmail.com> writes:\n\n> Within the help message of 'git add -i', the 'diff' command uses one\n> tab character and blanks to create the space between the name and the\n> description while the others use blanks only.  So if the tab size is\n> not at 4 characters, this description will not be in range.\n> Replace the tab character with blanks.\n>\n> Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com>\n> ---\n>  git-add--interactive.perl | 2 +-\n>  1 file changed, 1 insertion(+), 1 deletion(-)\n\nThanks, this was me being sloppy in the very first version.\n\nWill queue.\n\n>\n> diff --git a/git-add--interactive.perl b/git-add--interactive.perl\n> index cf6fc926a..982593c89 100755\n> --- a/git-add--interactive.perl\n> +++ b/git-add--interactive.perl\n> @@ -1678,7 +1678,7 @@ status        - show paths with changes\n>  update        - add working tree state to the staged set of changes\n>  revert        - revert staged set of changes back to the HEAD version\n>  patch         - pick hunks and update selectively\n> -diff\t      - view diff between HEAD and index\n> +diff          - view diff between HEAD and index\n>  add untracked - add contents of untracked files to the staged set of changes\n>  EOF\n>  }\n"}]}