summaryrefslogtreecommitdiff
path: root/t/t6003-rev-list-topo-order.sh
diff options
context:
space:
mode:
authorJon Seymour <jon.seymour@gmail.com>2005-07-07 00:50:07 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-07 01:00:28 (GMT)
commit28346d2d3c6e609a618c6c429d865e9d5d50b998 (patch)
tree68aab83e0497a2cce7ff28689883917884fc6584 /t/t6003-rev-list-topo-order.sh
parentf573571a218ddf0d48caaef33c8c7e4c59132b5f (diff)
downloadgit-28346d2d3c6e609a618c6c429d865e9d5d50b998.zip
git-28346d2d3c6e609a618c6c429d865e9d5d50b998.tar.gz
git-28346d2d3c6e609a618c6c429d865e9d5d50b998.tar.bz2
[PATCH] Write sed script directly into temp file, rather than a variable
When sed uses \n rather than ; as a separator (for BSD sed(1) compat), it is cleaner to use a file directly, rather than an environment variable containing \n characters. This change changes t/t6000 write to sed.script directly and changes the other tests to remove knowledge of sed.script. Signed-off-by: Jon Seymour <jon.seymour@gmail.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 't/t6003-rev-list-topo-order.sh')
-rwxr-xr-xt/t6003-rev-list-topo-order.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/t/t6003-rev-list-topo-order.sh b/t/t6003-rev-list-topo-order.sh
index a94dbd2..98c5e2f 100755
--- a/t/t6003-rev-list-topo-order.sh
+++ b/t/t6003-rev-list-topo-order.sh
@@ -79,15 +79,6 @@ save_tag g4 unique_commit g6 tree -p g3 -p h2
tag l5 > .git/HEAD
-#
-# cd to t/trash and use
-#
-# git-rev-list ... 2>&1 | sed "$(cat sed.script)"
-#
-# if you ever want to manually debug the operation of git-rev-list
-#
-echo "$sed_script" | tr ' ' \\012 > sed.script
-
test_expect_success 'rev-list has correct number of entries' 'git-rev-list HEAD | wc -l | tr -s " "' <<EOF
19
EOF