threads / patch / 14801

patchbash completion: Add more long options for 'git log'

Subject: [PATCH] bash completion: Add more long options for 'git log'

## tl;dr

2 messages between Aug 2, 2008 and Aug 2, 2008. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Lee Marlow· Aug 2, 2008, 00:56 UTC · lore
Options added: --parents --children --full-history
Signed-off-by: Lee Marlow <lee.marlow@gmail.com>
---
 contrib/completion/git-completion.bash |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Show changes to contrib/completion/git-completion.bash +1 −0
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 30d8701..7132a68 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -853,6 +853,7 @@ _git_log ()
 			--stat --numstat --shortstat
 			--decorate --diff-filter=
 			--color-words --walk-reflogs
+			--parents --children --full-history
 			"
 		return
 		;;
-- 
1.6.0.rc1.27.g9b6bf
Shawn O. Pearce· Aug 2, 2008, 21:00 UTC · re: Lee Marlow · lore

Re: [PATCH] bash completion: Add more long options for 'git log'

Lee Marlow <lee.marlow@gmail.com> wrote:
> Options added: --parents --children --full-history
> 
> Signed-off-by: Lee Marlow <lee.marlow@gmail.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Show 12 quoted lines
> diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
> index 30d8701..7132a68 100755
> --- a/contrib/completion/git-completion.bash
> +++ b/contrib/completion/git-completion.bash
> @@ -853,6 +853,7 @@ _git_log ()
>  			--stat --numstat --shortstat
>  			--decorate --diff-filter=
>  			--color-words --walk-reflogs
> +			--parents --children --full-history
>  			"
>  		return
>  		;;
-- 
Shawn.

← back to recent threads