builtin/submodule--helper: factor out submodule updating
[gitweb.git] / git-submodule.sh
index 5a58812645df06329df6ab3c13142987a5140bf8..8caaf274e25296e18218f55273cefda5bd7777fd 100755 (executable)
@@ -531,9 +531,9 @@ cmd_update()
                "$@" || echo "#unmatched" $?
        } | {
        err=
-       while read -r mode sha1 stage just_cloned sm_path
+       while read -r quickabort sha1 just_cloned sm_path
        do
-               die_if_unmatched "$mode" "$sha1"
+               die_if_unmatched "$quickabort" "$sha1"
 
                name=$(git submodule--helper name "$sm_path") || exit
                if ! test -z "$update"