summaryrefslogtreecommitdiff
path: root/builtin/diff-index.c
diff options
context:
space:
mode:
authorPaul Tan <pyokagan@gmail.com>2015-05-02 23:37:14 +0800
committerJunio C Hamano <gitster@pobox.com>2015-05-03 11:15:01 -0700
commit85024ab10ebcf844481c6a8ff6bb477f53f7d603 (patch)
treeb484ff6aeb463c58e5552896d8a6339d9fdaa39c /builtin/diff-index.c
parente91756f2d512eab871712a6a78ab9ef640c2fee3 (diff)
downloadgit-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-index.c')
0 files changed, 0 insertions, 0 deletions