"郑文辉(Techlive Zheng)" [off-list ref] writes:
quoted
+test_expect_success 'check hash of split' '
+ spl1=$(git subtree split --prefix subdir) &&
+ undo &&
+ git subtree split --prefix subdir --branch splitbr1test &&
+ check_equal ''"$(git rev-parse splitbr1test)"'' "$spl1"
+ git checkout splitbr1test &&
+ new_hash=$(git rev-parse HEAD~2) &&
+ git checkout mainline &&
+ check_equal ''"$new_hash"'' "$subdir_hash"
+'
+
This test is not test the correct thing, I am currently working on it.
Will keep the topic branch out of 'next' for now.
David, how would you like to handle a reroll of this piece?