Browse Source

t4014: fix test commit labels.

The commit tag and commit comments used in the test claimed that
the #1 commit was merged upstream where the test actually let the
upstream merge #2 commit.  Fix them.

Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Junio C Hamano 19 years ago
parent
commit
982b64e4cc
  1. 6
      t/t4014-format-patch.sh

6
t/t4014-format-patch.sh

@ -21,15 +21,15 @@ test_expect_success setup ' @@ -21,15 +21,15 @@ test_expect_success setup '
for i in D E F; do echo "$i"; done >>file &&
git update-index file &&
git commit -m "Side change #2" &&
git tag C1 &&
git tag C2 &&

for i in 5 6 1 2 3 A 4 B C 7 8 9 10 D E F; do echo "$i"; done >file &&
git update-index file &&
git commit -m "Side change #3" &&

git checkout master &&
git diff-tree -p C1 | git apply --index &&
git commit -m "Master accepts moral equivalent of #1"
git diff-tree -p C2 | git apply --index &&
git commit -m "Master accepts moral equivalent of #2"

'


Loading…
Cancel
Save