diff options
author | Jon Seymour <jon.seymour@gmail.com> | 2005-07-07 10:50:07 +1000 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-06 18:00:28 -0700 |
commit | 28346d2d3c6e609a618c6c429d865e9d5d50b998 (patch) | |
tree | 68aab83e0497a2cce7ff28689883917884fc6584 /t/t6002-rev-list-bisect.sh | |
parent | f573571a218ddf0d48caaef33c8c7e4c59132b5f (diff) | |
download | git-28346d2d3c6e609a618c6c429d865e9d5d50b998.tar.gz git-28346d2d3c6e609a618c6c429d865e9d5d50b998.tar.xz |
[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/t6002-rev-list-bisect.sh')
-rwxr-xr-x | t/t6002-rev-list-bisect.sh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/t/t6002-rev-list-bisect.sh b/t/t6002-rev-list-bisect.sh index dde5d865b..a5e313b2f 100755 --- a/t/t6002-rev-list-bisect.sh +++ b/t/t6002-rev-list-bisect.sh @@ -113,16 +113,6 @@ on_committer_date "1971-08-16 00:00:04" save_tag u4 unique_commit u4 tree -p u0 on_committer_date "1971-08-16 00:00:05" save_tag u5 unique_commit u5 tree -p u0 on_committer_date "1971-08-16 00:00:06" save_tag V unique_commit V tree -p u1 -p u2 -p u3 -p u4 -p u5 - -# -# 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 > sed.script - test_sequence() { _bisect_option=$1 |