summaryrefslogtreecommitdiff
path: root/t/t3510-cherry-pick-sequence.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-02-07 15:16:04 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-02-07 15:16:04 -0800
commit57ff1703d72db1cf33f985dcebfb03fdaab758dc (patch)
treef56f8404a9e768e3de582a662ee66325faf73c07 /t/t3510-cherry-pick-sequence.sh
parentMerge branch 'nd/fix-perf-parameters-in-tests' into maint (diff)
parentlearn to pick/revert into unborn branch (diff)
downloadtgif-57ff1703d72db1cf33f985dcebfb03fdaab758dc.tar.xz
Merge branch 'mz/pick-unborn' into maint
"git cherry-pick" did not replay a root commit to an unborn branch. * mz/pick-unborn: learn to pick/revert into unborn branch tests: move test_cmp_rev to test-lib-functions
Diffstat (limited to 't/t3510-cherry-pick-sequence.sh')
-rwxr-xr-xt/t3510-cherry-pick-sequence.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/t/t3510-cherry-pick-sequence.sh b/t/t3510-cherry-pick-sequence.sh
index b5fb527b2e..7b7a89dbd5 100755
--- a/t/t3510-cherry-pick-sequence.sh
+++ b/t/t3510-cherry-pick-sequence.sh
@@ -24,12 +24,6 @@ pristine_detach () {
git clean -d -f -f -q -x
}
-test_cmp_rev () {
- git rev-parse --verify "$1" >expect.rev &&
- git rev-parse --verify "$2" >actual.rev &&
- test_cmp expect.rev actual.rev
-}
-
test_expect_success setup '
git config advice.detachedhead false &&
echo unrelated >unrelated &&