read-tree: use OPT_BOOL instead of OPT_SET_INT
[gitweb.git] / git-submodule.sh
index 0a477b4c97fbe1764f3a631de75fba022da34d5e..554bd1c4943a5f2dd9aa9615dadc962bf6405d7a 100755 (executable)
@@ -1127,6 +1127,11 @@ cmd_sync()
        done
 }
 
+cmd_absorbgitdirs()
+{
+       git submodule--helper absorb-git-dirs --prefix "$wt_prefix" "$@"
+}
+
 # This loop parses the command line arguments to find the
 # subcommand name to dispatch.  Parsing of the subcommand specific
 # options are primarily done by the subcommand implementations.
@@ -1136,7 +1141,7 @@ cmd_sync()
 while test $# != 0 && test -z "$command"
 do
        case "$1" in
-       add | foreach | init | deinit | update | status | summary | sync)
+       add | foreach | init | deinit | update | status | summary | sync | absorbgitdirs)
                command=$1
                ;;
        -q|--quiet)