rebase --autostash: demonstrate a problem with dirty submodules
commit97bd162ca21dcc190327570ae8e6bd8a54582a23
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 23 Oct 2018 19:57:16 +0000 (23 12:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Oct 2018 04:38:13 +0000 (24 13:38 +0900)
tree08ca10947a13c8ddc90066b3f703facf84da5f67
parentb98e914e4650b876b9049bff1a5a33f4bfda0e0a
rebase --autostash: demonstrate a problem with dirty submodules

It has been reported that dirty submodules cause problems with the
built-in rebase when it is asked to autostash. The symptom is:

fatal: Unexpected stash response: ''

This patch adds a regression test that demonstrates that bug.

Original report: https://github.com/git-for-windows/git/issues/1820

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3420-rebase-autostash.sh