diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-10-18 00:13:47 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-10-18 00:38:03 -0700 |
commit | 70c9ac2f1999b7e0c17a864235537cffe29dfea4 (patch) | |
tree | 8766e1459d697f8e1916402d0dec91b41902c339 /unpack-trees.h | |
parent | check_filename(): make verify_filename() callable without dying (diff) | |
download | tgif-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 'unpack-trees.h')
0 files changed, 0 insertions, 0 deletions