Re: [PATCH 2/3] bash completion: refactor --strategy completion
Jay Soffian <jaysoffian@gmail.com> wrote:
Show 8 quoted lines
> 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 <jaysoffian@gmail.com>
> ---
> 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 <spearce@spearce.org>
> contrib/completion/git-completion.bash | 38 ++++++++++++++++---------------
> 1 files changed, 20 insertions(+), 18 deletions(-)
--
Shawn.