]> git.ipfire.org Git - thirdparty/git.git/commitdiff
p5310: Fix broken && chain in performance test
authorStefan Beller <sbeller@google.com>
Fri, 26 Jun 2015 21:27:00 +0000 (14:27 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Jun 2015 22:41:50 +0000 (15:41 -0700)
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/p5310-pack-bitmaps.sh

index f8ed8573b728e82f7f4afaee677758b736048ebe..de2a224a36b728b695c721df1dba16c608bbbb12 100755 (executable)
@@ -39,14 +39,14 @@ test_expect_success 'create partial bitmap state' '
 
        # now kill off all of the refs and pretend we had
        # just the one tip
-       rm -rf .git/logs .git/refs/* .git/packed-refs
-       git update-ref HEAD $cutoff
+       rm -rf .git/logs .git/refs/* .git/packed-refs &&
+       git update-ref HEAD $cutoff &&
 
        # and then repack, which will leave us with a nice
        # big bitmap pack of the "old" history, and all of
        # the new history will be loose, as if it had been pushed
        # up incrementally and exploded via unpack-objects
-       git repack -Ad
+       git repack -Ad &&
 
        # and now restore our original tip, as if the pushes
        # had happened