Merge branch 'jk/common-main' into maint
[gitweb.git] / contrib / subtree / git-subtree.sh
index 7a39b30ad09483ef9796d98ca78e52f652046582..b567eaeff97bca0b42c7217a99cd73ea4b191f07 100755 (executable)
@@ -662,6 +662,7 @@ cmd_split()
                debug "Merging split branch into HEAD..."
                latest_old=$(cache_get latest_old)
                git merge -s ours \
+                       --allow-unrelated-histories \
                        -m "$(rejoin_msg "$dir" $latest_old $latest_new)" \
                        $latest_new >&2 || exit $?
        fi