Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'js/mv-dir-to-new-directory' into maint
[gitweb.git]
/
contrib
/
subtree
/
git-subtree.sh
diff --git
a/contrib/subtree/git-subtree.sh
b/contrib/subtree/git-subtree.sh
index 7a39b30ad09483ef9796d98ca78e52f652046582..b567eaeff97bca0b42c7217a99cd73ea4b191f07 100755
(executable)
--- a/
contrib/subtree/git-subtree.sh
+++ b/
contrib/subtree/git-subtree.sh
@@
-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