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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Lee Marlow
Options added: --parents --children --full-history

Signed-off-by: Lee Marlow <[hidden email]>
---
 contrib/completion/git-completion.bash |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [hidden email]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Reply | Threaded
Open this post in threaded view
|

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

Shawn Pearce
Lee Marlow <[hidden email]> wrote:
> Options added: --parents --children --full-history
>
> Signed-off-by: Lee Marlow <[hidden email]>

Acked-by: Shawn O. Pearce <[hidden email]>

> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [hidden email]
More majordomo info at  http://vger.kernel.org/majordomo-info.html