author | Jay Soffian <jaysoffian@gmail.com> | |
Fri, 6 Mar 2009 16:30:44 +0000 (11:30 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 8 Mar 2009 04:23:09 +0000 (20:23 -0800) | ||
commit | 3c7b480a1cf6e1a1c73b4edde5d8cf0ac0c8111c | |
tree | b41687400441b03d39efd429dcd7517f815bcfeb | tree | snapshot |
parent | 52d5c3b5b22b6a672ace19f631768a63bb6a2250 | commit | diff |
bash completion: refactor --strategy completion
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>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash | diff | blob | history |