]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/bundle.c
bundle: add flags to verify_bundle()
[thirdparty/git.git] / builtin / bundle.c
index 2adad545a2e972221869703658e98be0c514d005..7d983a238f0bad6c5a336be7fca4c4166023cadf 100644 (file)
@@ -119,7 +119,8 @@ static int cmd_bundle_verify(int argc, const char **argv, const char *prefix) {
                goto cleanup;
        }
        close(bundle_fd);
-       if (verify_bundle(the_repository, &header, !quiet)) {
+       if (verify_bundle(the_repository, &header,
+                         quiet ? 0 : VERIFY_BUNDLE_VERBOSE)) {
                ret = 1;
                goto cleanup;
        }
@@ -185,7 +186,7 @@ static int cmd_bundle_unbundle(int argc, const char **argv, const char *prefix)
                strvec_pushl(&extra_index_pack_args, "-v", "--progress-title",
                             _("Unbundling objects"), NULL);
        ret = !!unbundle(the_repository, &header, bundle_fd,
-                        &extra_index_pack_args) ||
+                        &extra_index_pack_args, 0) ||
                list_bundle_refs(&header, argc, argv);
        bundle_header_release(&header);
 cleanup: