aboutsummaryrefslogtreecommitdiffstats
path: root/t/helper/test-chmtime.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-04-25 13:56:20 -0700
committerJunio C Hamano <gitster@pobox.com>2023-04-25 13:56:20 -0700
commit36628c56ed54b5a86aa9a17ed589fc0ee7f5bea5 (patch)
tree3fadafc81f95d070092fb0a000b10dc02f5b1669 /t/helper/test-chmtime.c
parentMerge branch 'rj/send-email-validate-hook-count-messages' (diff)
parentrepack: disable writing bitmaps when doing a local repack (diff)
downloadgit-36628c56ed54b5a86aa9a17ed589fc0ee7f5bea5.tar.gz
git-36628c56ed54b5a86aa9a17ed589fc0ee7f5bea5.zip
Merge branch 'ps/fix-geom-repack-with-alternates'
Geometric repacking ("git repack --geometric=<n>") in a repository that borrows from an alternate object database had various corner case bugs, which have been corrected. * ps/fix-geom-repack-with-alternates: repack: disable writing bitmaps when doing a local repack repack: honor `-l` when calculating pack geometry t/helper: allow chmtime to print verbosely without modifying mtime pack-objects: extend test coverage of `--stdin-packs` with alternates pack-objects: fix error when same packfile is included and excluded pack-objects: fix error when packing same pack twice pack-objects: split out `--stdin-packs` tests into separate file repack: fix generating multi-pack-index with only non-local packs repack: fix trying to use preferred pack in alternates midx: fix segfault with no packs and invalid preferred pack
Diffstat (limited to 't/helper/test-chmtime.c')
-rw-r--r--t/helper/test-chmtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-chmtime.c b/t/helper/test-chmtime.c
index dc28890a18..0e5538833a 100644
--- a/t/helper/test-chmtime.c
+++ b/t/helper/test-chmtime.c
@@ -94,7 +94,7 @@ int cmd__chmtime(int argc, const char **argv)
if (timespec_arg(argv[i], &set_time, &set_eq)) {
++i;
} else {
- if (get == 0) {
+ if (get == 0 && verbose == 0) {
fprintf(stderr, "Not a base-10 integer: %s\n", argv[i] + 1);
goto usage;
}