Browse Source

fix for subtree split not finding proper base for new commits

maint
Jakub Suder 15 years ago
parent
commit
da949cc554
  1. 5
      git-subtree.sh

5
git-subtree.sh

@ -538,7 +538,10 @@ cmd_split() @@ -538,7 +538,10 @@ cmd_split()
# ugly. is there no better way to tell if this is a subtree
# vs. a mainline commit? Does it matter?
[ -z $tree ] && continue
if [ -z $tree ]; then
cache_set $rev $rev
continue
fi

newrev=$(copy_or_skip "$rev" "$tree" "$newparents") || exit $?
debug " newrev is: $newrev"

Loading…
Cancel
Save