rebase --autostash: fix issue with dirty submodules
commitffae8b2f904f0a82417ac24cb2684bbe5ca234e1
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 23 Oct 2018 19:57:17 +0000 (23 12:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Oct 2018 04:38:15 +0000 (24 13:38 +0900)
treef680029f98ea21294a2eae082342bccd27a872bf
parent97bd162ca21dcc190327570ae8e6bd8a54582a23
rebase --autostash: fix issue with dirty submodules

Since we cannot stash dirty submodules, there is no use in requiring
them to be clean (or stash them when they are not).

This brings the built-in rebase in line with the previous, scripted
version, which also did not care about dirty submodules (but it was
admittedly not very easy to figure that out).

This fixes 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>
builtin/rebase.c
t/t3420-rebase-autostash.sh