diff options
author | Paul Tan <pyokagan@gmail.com> | 2015-05-02 23:37:14 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-03 11:15:01 -0700 |
commit | 85024ab10ebcf844481c6a8ff6bb477f53f7d603 (patch) | |
tree | b484ff6aeb463c58e5552896d8a6339d9fdaa39c /builtin/diff.c | |
parent | e91756f2d512eab871712a6a78ab9ef640c2fee3 (diff) | |
download | git-85024ab10ebcf844481c6a8ff6bb477f53f7d603.tar.gz |
t5520: test --rebase failure on unborn branch with index
Commit 19a7fcbf (allow pull --rebase on branch yet to be born) special
cases git-pull on an unborn branch in a different code path such that
git-pull --rebase is still valid even though there is no HEAD yet.
This code path still ensures that there is no index in order not to lose
any staged changes. Implement a test to ensure that this check is
triggered.
Signed-off-by: Paul Tan <pyokagan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diff.c')
0 files changed, 0 insertions, 0 deletions