diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-05-13 04:24:13 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-14 04:02:00 +0200 |
commit | 8125a58b912e52eba7889e1dba9fe6d711b0ffdf (patch) | |
tree | 38a6b544562892c7d8bdb77a78e4ecb282f13395 /t/t1407-worktree-ref-store.sh | |
parent | t/test-lib: introduce ZERO_OID (diff) | |
download | git-8125a58b912e52eba7889e1dba9fe6d711b0ffdf.tar.xz git-8125a58b912e52eba7889e1dba9fe6d711b0ffdf.zip |
t: switch $_z40 to $ZERO_OID
Switch all uses of $_z40 to $ZERO_OID so that they work correctly with
larger hashes. This commit was created by using the following sed
command to modify all files in the t directory except t/test-lib.sh:
sed -i 's/\$_z40/$ZERO_OID/g'
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1407-worktree-ref-store.sh')
-rwxr-xr-x | t/t1407-worktree-ref-store.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/t1407-worktree-ref-store.sh b/t/t1407-worktree-ref-store.sh index 2211f9831f..4623ae15c4 100755 --- a/t/t1407-worktree-ref-store.sh +++ b/t/t1407-worktree-ref-store.sh @@ -50,13 +50,13 @@ test_expect_success 'create_symref(FOO, refs/heads/master)' ' ' test_expect_success 'for_each_reflog()' ' - echo $_z40 > .git/logs/PSEUDO-MAIN && + echo $ZERO_OID > .git/logs/PSEUDO-MAIN && mkdir -p .git/logs/refs/bisect && - echo $_z40 > .git/logs/refs/bisect/random && + echo $ZERO_OID > .git/logs/refs/bisect/random && - echo $_z40 > .git/worktrees/wt/logs/PSEUDO-WT && + echo $ZERO_OID > .git/worktrees/wt/logs/PSEUDO-WT && mkdir -p .git/worktrees/wt/logs/refs/bisect && - echo $_z40 > .git/worktrees/wt/logs/refs/bisect/wt-random && + echo $ZERO_OID > .git/worktrees/wt/logs/refs/bisect/wt-random && $RWT for-each-reflog | cut -c 42- | sort >actual && cat >expected <<-\EOF && |