t7900-subtree: test the "space in a subdirectory name" case
[gitweb.git] / contrib / subtree / git-subtree.sh
index 9f065718513c5c1e82d355aa9dab40ee421b765e..72a20c0c2d57152d4e21fb67d9e013a6bbb2b99d 100755 (executable)
@@ -648,7 +648,7 @@ cmd_split()
                debug "Merging split branch into HEAD..."
                latest_old=$(cache_get latest_old)
                git merge -s ours \
-                       -m "$(rejoin_msg $dir $latest_old $latest_new)" \
+                       -m "$(rejoin_msg "$dir" $latest_old $latest_new)" \
                        $latest_new >&2 || exit $?
        fi
        if [ -n "$branch" ]; then