projects
/
platform
/
upstream
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.9.3
[platform/upstream/git.git]
/
contrib
/
subtree
/
git-subtree.sh
diff --git
a/contrib/subtree/git-subtree.sh
b/contrib/subtree/git-subtree.sh
index
7a39b30
..
b567eae
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