{"thread":{"id":"12945","subject":"Re: [PATCH 2/4] git-gc: add a --no-verify option to bypass the pre-auto-gc hook","startedAt":"2008-04-01T05:02:55Z","lastAt":"2008-04-01T05:02:55Z","messageCount":1,"participants":["Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":4},"messages":[{"id":"73481","messageId":"7v1w5qjhfk.fsf@gitster.siamese.dyndns.org","threadId":"12945","inReplyTo":null,"subject":"Re: [PATCH 2/4] git-gc: add a --no-verify option to bypass the pre-auto-gc hook","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-04-01T05:02:55Z","receivedAt":"2008-04-01T05:02:55Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Miklos Vajna <vmiklos@frugalware.org> writes:\n\n> diff --git a/Documentation/git-gc.txt b/Documentation/git-gc.txt\n> index d424a4e..396da5c 100644\n> --- a/Documentation/git-gc.txt\n> +++ b/Documentation/git-gc.txt\n> @@ -62,6 +62,10 @@ automatic consolidation of packs.\n>  --quiet::\n>  \tSuppress all progress reports.\n>  \n> +--no-verify::\n> +\tThis option bypasses the pre-auto-gc hook.\n> +\tSee also link:hooks.html[hooks].\n\nThe purpose of \"gc --auto\" is not about running it interactively yourself,\nbut to sprinkle calls to it at strategic places in your script.  If this\noption is about disabling the hook temporarily for one-shot, it is not\nlike it is easier to rewrite such script to add --no-verify than actually\nchmod -x the hook yourself.  So I am puzzled what the expected use is for\nthis option.\n"}]}