summaryrefslogtreecommitdiff
path: root/send-pack.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-10-18 00:13:47 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-10-18 00:38:03 -0700
commit70c9ac2f1999b7e0c17a864235537cffe29dfea4 (patch)
tree8766e1459d697f8e1916402d0dec91b41902c339 /send-pack.h
parentcheck_filename(): make verify_filename() callable without dying (diff)
downloadtgif-70c9ac2f1999b7e0c17a864235537cffe29dfea4.tar.xz
DWIM "git checkout frotz" to "git checkout -b frotz origin/frotz"
When 'frotz' is not a valid object name and not a tracked filename, we used to complain and failed this command. When there is only one remote that has 'frotz' as one of its tracking branches, we can DWIM it as a request to create a local branch 'frotz' forking from the matching remote tracking branch. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'send-pack.h')
0 files changed, 0 insertions, 0 deletions