public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Thomas Rast <trast@inf•ethz.ch>
To: "Michael S. Tsirkin" <mst@redhat•com>
Cc: <git@vger•kernel.org>, Junio C Hamano <gitster@pobox•com>,
	Aaron Schrab <aaron@schrab•com>
Subject: Re: [PATCH] push: document --no-verify
Date: Wed, 22 May 2013 14:12:21 +0200	[thread overview]
Message-ID: <878v378b8a.fsf@linux-k42r.v.cablecom.net> (raw)
In-Reply-To: <20130522104356.GA5472@redhat.com> (Michael S. Tsirkin's message of "Wed, 22 May 2013 13:43:56 +0300")

"Michael S. Tsirkin" <mst@redhat•com> writes:

> commit ec55559f937727bcb0fa8a3dfe6af68c188e968a added
> --no-verify flag to git push, but didn't document it.
> It's a useful flag when using pre-push hooks so
> add the documentation.
>
> Suggested-by: Thomas Rast <trast@inf•ethz.ch>
> Cc: Aaron Schrab <aaron@schrab•com>
> Signed-off-by: Michael S. Tsirkin <mst@redhat•com>
[...]
> +-n::
> +--no-verify::
> +	This option bypasses the pre-commit and commit-msg hooks.
> +	See also linkgit:githooks[5].
> +

Umm, half of that is not correct :-)

Push doesn't have the -n short form that git-commit does, and the hook
names are wrong.

I also ended up writing a patch myself; sorry for not telling you on
IRC:

  http://thread.gmane.org/gmane.comp.version-control.git/225141

-- 
Thomas Rast
trast@{inf,student}.ethz.ch

  reply	other threads:[~2013-05-22 12:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-22 10:43 [PATCH] push: document --no-verify Michael S. Tsirkin
2013-05-22 12:12 ` Thomas Rast [this message]
2013-05-22 12:17   ` Michael S. Tsirkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878v378b8a.fsf@linux-k42r.v.cablecom.net \
    --to=trast@inf$(echo .)ethz.ch \
    --cc=aaron@schrab$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=gitster@pobox$(echo .)com \
    --cc=mst@redhat$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox