Merge branch 'jk/rebase-i-submodule-conflict-only'
Giving "--continue" to a conflicted "rebase -i" session skipped a commit that only results in changes to submodules. By John Keeping * jk/rebase-i-submodule-conflict-only: rebase -i continue: don't skip commits that only change submodules
This commit is contained in:
@ -672,7 +672,7 @@ rearrange_squash () {
|
||||
case "$action" in
|
||||
continue)
|
||||
# do we have anything to commit?
|
||||
if git diff-index --cached --quiet --ignore-submodules HEAD --
|
||||
if git diff-index --cached --quiet HEAD --
|
||||
then
|
||||
: Nothing to commit -- skip this
|
||||
else
|
||||
|
Reference in New Issue
Block a user