-
Notifications
You must be signed in to change notification settings - Fork 155
multi-pack-index: add --no-progress #337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
e7b1cc6
37768f5
4ac9527
3468acf
d6ae4e1
ea4f869
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
Add the MIDX_PROGRESS flag and update the write|verify|expire|repack functions in midx.h to accept a flags parameter. The MIDX_PROGRESS flag indicates whether the caller of the function would like progress information to be displayed. This patch only changes the method prototypes and does not change the functionality. The functionality change will be handled by a later patch. Signed-off-by: William Baker <William.Baker@microsoft.com>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,16 +47,16 @@ int cmd_multi_pack_index(int argc, const char **argv, | |
trace2_cmd_mode(argv[0]); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, SZEDER Gábor wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, William Baker wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Junio C Hamano wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, William Baker wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Junio C Hamano wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, SZEDER Gábor wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, William Baker wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Junio C Hamano wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, William Baker wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, William Baker wrote (reply to this):
|
||
|
||
if (!strcmp(argv[0], "repack")) | ||
return midx_repack(the_repository, opts.object_dir, (size_t)opts.batch_size); | ||
return midx_repack(the_repository, opts.object_dir, (size_t)opts.batch_size, 0); | ||
if (opts.batch_size) | ||
die(_("--batch-size option is only for 'repack' subcommand")); | ||
|
||
if (!strcmp(argv[0], "write")) | ||
return write_midx_file(opts.object_dir); | ||
return write_midx_file(opts.object_dir, 0); | ||
if (!strcmp(argv[0], "verify")) | ||
return verify_midx_file(the_repository, opts.object_dir); | ||
return verify_midx_file(the_repository, opts.object_dir, 0); | ||
if (!strcmp(argv[0], "expire")) | ||
return expire_midx_packs(the_repository, opts.object_dir); | ||
return expire_midx_packs(the_repository, opts.object_dir, 0); | ||
|
||
die(_("unrecognized subcommand: %s"), argv[0]); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the Git mailing list, Junio C Hamano wrote (reply to this):
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the Git mailing list, Junio C Hamano wrote (reply to this):