Make 'git submodule update --force' always check out submodules.
[gitweb.git] / git-rebase--interactive.sh
index 70538bb20f39519a7f9aef26605f3f8583df3ad9..0c19b7c7539192851d5bd43df686baa97dc0df73 100644 (file)
@@ -687,7 +687,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
@@ -869,6 +869,8 @@ cat >> "$todo" << EOF
 #  f, fixup = like "squash", but discard this commit's log message
 #  x, exec = run command (the rest of the line) using shell
 #
+# These lines can be re-ordered; they are executed from top to bottom.
+#
 # If you remove a line here THAT COMMIT WILL BE LOST.
 # However, if you remove everything, the rebase will be aborted.
 #