]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5302-pack-index.sh
Merge branch 'dl/checkout-p-merge-base'
[thirdparty/git.git] / t / t5302-pack-index.sh
index c92e553a2f87d59f73f2dc8bf52bd256713241db..7c9d687367088346191434b1ceac6dd3726dff1d 100755 (executable)
@@ -277,4 +277,11 @@ test_expect_success 'index-pack --fsck-objects also warns upon missing tagger in
        grep "^warning:.* expected .tagger. line" err
 '
 
+test_expect_success 'index-pack -v --stdin produces progress for both phases' '
+       pack=$(git pack-objects --all pack </dev/null) &&
+       GIT_PROGRESS_DELAY=0 git index-pack -v --stdin <pack-$pack.pack 2>err &&
+       test_i18ngrep "Receiving objects" err &&
+       test_i18ngrep "Resolving deltas" err
+'
+
 test_done