summaryrefslogtreecommitdiff
path: root/t/t7607-merge-overwrite.sh
diff options
context:
space:
mode:
authorLibravatar Marc Khouzam <marc.khouzam@gmail.com>2012-11-26 23:13:41 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-11-27 09:14:53 -0800
commitce45ea6a133a68ead5d06b33453cc5296fb5c720 (patch)
tree077b37bd90031ac3ce4e382e055f0223aa7b9b6f /t/t7607-merge-overwrite.sh
parenttcsh-completion re-using git-completion.bash (diff)
downloadtgif-ce45ea6a133a68ead5d06b33453cc5296fb5c720.tar.xz
Support for git aliasing for tcsh completion
tcsh users sometimes alias the 'git' command to another name. In this case, the user expects to only have to issue a new 'complete' command using the alias name. However, the tcsh script currently uses the command typed by the user to call the appropriate function in git-completion.bash, either _git() or _gitk(). When using an alias, this technique no longer works. This change specifies the real name of the command (either 'git' or 'gitk') as a parameter to the script handling tcsh completion. This allows the user to use any alias for the 'git' or 'gitk' commands, while still getting completion to work. A check for the presence of ${HOME}/.git-completion.bash is also added to help the user make use of the script properly. Signed-off-by: Marc Khouzam <marc.khouzam@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7607-merge-overwrite.sh')
0 files changed, 0 insertions, 0 deletions