summaryrefslogtreecommitdiff
path: root/t/t0000-basic.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-08-08 14:21:32 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-08 14:21:33 -0700
commit880b3fee51e9b5b0bb7c0361fd3bf2c5fedda5bf (patch)
tree8f8b8c40c0e6914a81d5ac2c3b3658389f06de10 /t/t0000-basic.sh
parentMerge branch 'mh/blame-worktree' into maint (diff)
parentcache-tree: do not generate empty trees as a result of all i-t-a subentries (diff)
downloadtgif-880b3fee51e9b5b0bb7c0361fd3bf2c5fedda5bf.tar.xz
Merge branch 'nd/cache-tree-ita' into maint
"git add -N dir/file && git write-tree" produced an incorrect tree when there are other paths in the same directory that sorts after "file". * nd/cache-tree-ita: cache-tree: do not generate empty trees as a result of all i-t-a subentries cache-tree.c: fix i-t-a entry skipping directory updates sometimes test-lib.sh: introduce and use $EMPTY_BLOB test-lib.sh: introduce and use $EMPTY_TREE
Diffstat (limited to 't/t0000-basic.sh')
-rwxr-xr-xt/t0000-basic.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0000-basic.sh b/t/t0000-basic.sh
index 60811a3a7c..1aa5093f36 100755
--- a/t/t0000-basic.sh
+++ b/t/t0000-basic.sh
@@ -834,7 +834,7 @@ test_expect_success 'git write-tree should be able to write an empty tree' '
'
test_expect_success 'validate object ID of a known tree' '
- test "$tree" = 4b825dc642cb6eb9a060e54bf8d69288fbee4904
+ test "$tree" = $EMPTY_TREE
'
# Various types of objects