git-am.sh: fix initialization of the threeway variable
[gitweb.git] / t / t4054-diff-bogus-tree.sh
index 0843c8789005e21eff2f771c97671f02cbaee022..1d6efab3c53f673298c4e1911fd1cb4756be59f6 100755 (executable)
@@ -16,7 +16,7 @@ test_expect_success 'create bogus tree' '
 test_expect_success 'create tree with matching file' '
        echo bar >foo &&
        git add foo &&
-       good_tree=$(git write-tree)
+       good_tree=$(git write-tree) &&
        blob=$(git rev-parse :foo)
 '