{"thread":{"id":"6668","subject":"[PATCH 8/8] bash: Support internal revlist options better.","startedAt":"2007-02-04T07:38:47Z","lastAt":"2007-02-04T07:38:47Z","messageCount":1,"participants":["Shawn O. Pearce"],"isPatch":true,"patchVersion":1,"patchTotal":8},"messages":[{"id":"33544","messageId":"20070204073847.GH17603@spearce.org","threadId":"6668","inReplyTo":null,"subject":"[PATCH 8/8] bash: Support internal revlist options better.","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2007-02-04T07:38:47Z","receivedAt":"2007-02-04T07:38:47Z","isPatch":true,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"format-patch/log/whatchanged all take --not and --all as options\nto the internal revlist process.  So these should be supported\nas possible completions.\n\ngitk takes anything rev-list/log/whatchanged takes, so we should\nuse complete_revlist to handle its options.\n\nSigned-off-by: Shawn O. Pearce <spearce@spearce.org>\n---\n contrib/completion/git-completion.bash |    4 +++-\n 1 files changed, 3 insertions(+), 1 deletions(-)\n\ndiff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash\nindex 3b1f100..466cc32 100755\n--- a/contrib/completion/git-completion.bash\n+++ b/contrib/completion/git-completion.bash\n@@ -494,6 +494,7 @@ _git_format_patch ()\n \t\t\t--signoff\n \t\t\t--in-reply-to=\n \t\t\t--full-index --binary\n+\t\t\t--not --all\n \t\t\t\"\n \t\treturn\n \t\t;;\n@@ -532,6 +533,7 @@ _git_log ()\n \t\t\t--author= --committer= --grep=\n \t\t\t--all-match\n \t\t\t--pretty= --name-status --name-only\n+\t\t\t--not --all\n \t\t\t\"\n \t\treturn\n \t\t;;\n@@ -898,7 +900,7 @@ _gitk ()\n \t\treturn\n \t\t;;\n \tesac\n-\t__gitcomp \"$(__git_refs)\"\n+\t__git_complete_revlist\n }\n \n complete -o default -o nospace -F _git git\n-- \n1.5.0.rc3.22.g5057\n"}]}