summaryrefslogtreecommitdiff
path: root/unpack-trees.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-01-30 12:10:08 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-02-06 16:32:15 -0800
commitabe199808c6586047fb7255b80e3d17ffc26bf6c (patch)
treebf13d37ebb63f0448d5cbb2bcb2e2212ff990d4a /unpack-trees.h
parentUpdate draft release notes to 1.7.6.6 (diff)
downloadtgif-abe199808c6586047fb7255b80e3d17ffc26bf6c.tar.xz
git checkout -b: allow switching out of an unborn branch
Running "git checkout -b another" immediately after "git init" when you do not even have a commit on 'master' fails with: $ git checkout -b another fatal: You are on a branch yet to be born This is unnecessary, if we redefine "git checkout -b $name" that does not take any $start_point (which has to be a commit) as "I want to check out a new branch $name from the state I am in". Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unpack-trees.h')
0 files changed, 0 insertions, 0 deletions