{"thread":{"id":"20480","subject":"[PATCH 9/9] update 'git apply' bash-completion according to its man page","startedAt":"2009-08-08T08:57:18Z","lastAt":"2009-08-08T19:50:11Z","messageCount":2,"participants":["Emmanuel Trillaud","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":9},"messages":[{"id":"119981","messageId":"9f50533b0908080157r6e58a6a4rf42ff684d095c002@mail.gmail.com","threadId":"20480","inReplyTo":null,"subject":"[PATCH 9/9] update 'git apply' bash-completion according to its man page","fromName":"Emmanuel Trillaud","fromEmail":"etrillaud@gmail.com","sentAt":"2009-08-08T08:57:18Z","receivedAt":"2009-08-08T08:57:18Z","isPatch":true,"sender":{"key":"etrillaud@gmail.com","avatar":null},"body":"---\n contrib/completion/git-completion.bash |   10 ++++++++--\n 1 files changed, 8 insertions(+), 2 deletions(-)\n\ndiff --git a/contrib/completion/git-completion.bash\nb/contrib/completion/git-completion.bash\nindex 8ba1249..c08422c 100755\n--- a/contrib/completion/git-completion.bash\n+++ b/contrib/completion/git-completion.bash\n@@ -694,9 +694,15 @@ _git_apply ()\n \t--*)\n \t\t__gitcomp \"\n \t\t\t--stat --numstat --summary --check --index\n-\t\t\t--cached --index-info --reverse --reject --unidiff-zero\n-\t\t\t--apply --no-add --exclude=\n+\t\t\t--cached\n+\t\t\t--build-fake-ancestor=\n+\t\t\t--index-info --reverse --reject --unidiff-zero\n+\t\t\t--apply --no-add\n+\t\t\t--exclude=\n+\t\t\t--include=\n \t\t\t--whitespace= --inaccurate-eof --verbose\n+\t\t\t--recount\n+\t\t\t--directory=\n \t\t\t\"\n \t\treturn\n \tesac\n-- \n1.6.4\n"},{"id":"120010","messageId":"7vab2adr0s.fsf@alter.siamese.dyndns.org","threadId":"20480","inReplyTo":"9f50533b0908080157r6e58a6a4rf42ff684d095c002@mail.gmail.com","subject":"Re: [PATCH 9/9] update 'git apply' bash-completion according to its man page","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2009-08-08T19:50:11Z","receivedAt":"2009-08-08T19:50:11Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Emmanuel Trillaud <etrillaud@gmail.com> writes:\n\n> ---\n>  contrib/completion/git-completion.bash |   10 ++++++++--\n>  1 files changed, 8 insertions(+), 2 deletions(-)\n>\n> diff --git a/contrib/completion/git-completion.bash\n> b/contrib/completion/git-completion.bash\n> index 8ba1249..c08422c 100755\n> --- a/contrib/completion/git-completion.bash\n> +++ b/contrib/completion/git-completion.bash\n> @@ -694,9 +694,15 @@ _git_apply ()\n>  \t--*)\n>  \t\t__gitcomp \"\n>  \t\t\t--stat --numstat --summary --check --index\n> -\t\t\t--cached --index-info --reverse --reject --unidiff-zero\n> -\t\t\t--apply --no-add --exclude=\n> +\t\t\t--cached\n> +\t\t\t--build-fake-ancestor=\n> +\t\t\t--index-info --reverse --reject --unidiff-zero\n> +\t\t\t--apply --no-add\n> +\t\t\t--exclude=\n> +\t\t\t--include=\n>  \t\t\t--whitespace= --inaccurate-eof --verbose\n> +\t\t\t--recount\n> +\t\t\t--directory=\n\nI'd rather suggest dropping --no-add that is script-only and not useful in\ninteractive use.  I also won't add --build-fake-ancestor for the same\nreason.\n"}]}