Re: [PATCH 2/4] git-gc: add a --no-verify option to bypass the pre-auto-gc hook

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

 



Miklos Vajna <vmiklos@xxxxxxxxxxxxxx> writes:

> diff --git a/Documentation/git-gc.txt b/Documentation/git-gc.txt
> index d424a4e..396da5c 100644
> --- a/Documentation/git-gc.txt
> +++ b/Documentation/git-gc.txt
> @@ -62,6 +62,10 @@ automatic consolidation of packs.
>  --quiet::
>  	Suppress all progress reports.
>  
> +--no-verify::
> +	This option bypasses the pre-auto-gc hook.
> +	See also link:hooks.html[hooks].

The purpose of "gc --auto" is not about running it interactively yourself,
but to sprinkle calls to it at strategic places in your script.  If this
option is about disabling the hook temporarily for one-shot, it is not
like it is easier to rewrite such script to add --no-verify than actually
chmod -x the hook yourself.  So I am puzzled what the expected use is for
this option.




--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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