summaryrefslogtreecommitdiff
path: root/git_remote_helpers/git
diff options
context:
space:
mode:
authorMarc Khouzam <marc.khouzam@gmail.com>2012-11-26 23:13:41 -0500
committerJunio C Hamano <gitster@pobox.com>2012-11-27 09:14:53 -0800
commitce45ea6a133a68ead5d06b33453cc5296fb5c720 (patch)
tree077b37bd90031ac3ce4e382e055f0223aa7b9b6f /git_remote_helpers/git
parent9673b8c392a97c0dfa865ecf60b024f70a7dacfe (diff)
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 'git_remote_helpers/git')
0 files changed, 0 insertions, 0 deletions