Re: Feature-request: git-bundle --quiet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 06, 2019 at 07:19:11PM +0000, Robin H. Johnson wrote:

> I started trying to make a stab at implementing this, but the code
> wasn't standing out for it. Hopefully somebody else has poked at it
> before:
> 
> I'd like to have a --quiet option for git-bundle, such that only errors
> are sent to stderr, and not the packing progress.

This seems like a reasonable thing to want.

It looks like you'd have to teach cmd_bundle() to use parse_options(),
parse a quiet flag, and then pas that down to create_bundle(). Then it
would pass it along to write_pack_data(), which would decide whether to
pass "-q".

That would allow:

  git bundle --quiet create foo.bundle ...

-Peff



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux