Subject: Re: [PATCH 2/3] bash completion: refactor --strategy completion

From: "Shawn O. Pearce" <[email-masked]>
Date: Fri, 6 Mar 2009 08:32:33 -0800

Jay Soffian <[email-masked]> wrote:
> The code to complete --strategy was duplicated between _git_rebase and
> _git_merge, and is about to gain a third caller (_git_pull). This patch
> factors it into its own function.
> 
> Signed-off-by: Jay Soffian <[email-masked]>
> ---
> How about like this intead? This way 3/3 doesn't need to be adjusted. The
> interdiff is:

Yup, that works too!

Acked-by: Shawn O. Pearce <[email-masked]>
 
>  contrib/completion/git-completion.bash |   38 ++++++++++++++++---------------
>  1 files changed, 20 insertions(+), 18 deletions(-)

-- 
Shawn.