diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-01-30 12:10:08 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-02-06 16:32:15 -0800 |
commit | abe199808c6586047fb7255b80e3d17ffc26bf6c (patch) | |
tree | bf13d37ebb63f0448d5cbb2bcb2e2212ff990d4a /t/t4043-diff-rename-binary.sh | |
parent | Update draft release notes to 1.7.6.6 (diff) | |
download | tgif-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 't/t4043-diff-rename-binary.sh')
0 files changed, 0 insertions, 0 deletions