summaryrefslogtreecommitdiff
path: root/gitk-git
diff options
context:
space:
mode:
authorLibravatar Kevin Ballard <kevin@sb.org>2010-10-12 14:38:12 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-10-13 16:36:04 -0700
commit34a6bbb549095544ad8fc9ec29e2c890ef0c27d1 (patch)
treef4b41b202f2134039a76b6b26ef4de570efd2817 /gitk-git
parentMerge branch 'maint' (diff)
downloadtgif-34a6bbb549095544ad8fc9ec29e2c890ef0c27d1.tar.xz
completion: Support the DWIM mode for git checkout
Ever since commit 70c9ac2 (DWIM: "git checkout frotz" to "git checkout -b frotz origin/frotz"), git checkout has supported a DWIM mode where it creates a local tracking branch for a remote branch if just the name of the remote branch is specified on the command-line and only one remote has a branch with that name. Teach the bash completion script to understand this DWIM mode and provide such remote-tracking branch names as possible completions. Signed-off-by: Kevin Ballard <kevin@sb.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitk-git')
0 files changed, 0 insertions, 0 deletions