{"thread":{"id":"33898","subject":"[PATCH] push: document --no-verify","startedAt":"2013-05-22T10:43:56Z","lastAt":"2013-05-22T12:17:14Z","messageCount":3,"participants":["Michael S. Tsirkin","Thomas Rast"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"218162","messageId":"20130522104356.GA5472@redhat.com","threadId":"33898","inReplyTo":null,"subject":"[PATCH] push: document --no-verify","fromName":"Michael S. Tsirkin","fromEmail":"mst@redhat.com","sentAt":"2013-05-22T10:43:56Z","receivedAt":"2013-05-22T10:43:56Z","isPatch":true,"sender":{"key":"mst@kernel.org","avatar":null},"body":"commit ec55559f937727bcb0fa8a3dfe6af68c188e968a added\n--no-verify flag to git push, but didn't document it.\nIt's a useful flag when using pre-push hooks so\nadd the documentation.\n\nSuggested-by: Thomas Rast <trast@inf.ethz.ch>\nCc: Aaron Schrab <aaron@schrab.com>\nSigned-off-by: Michael S. Tsirkin <mst@redhat.com>\n---\n Documentation/git-push.txt | 7 ++++++-\n 1 file changed, 6 insertions(+), 1 deletion(-)\n\ndiff --git a/Documentation/git-push.txt b/Documentation/git-push.txt\nindex d514813..346b28a 100644\n--- a/Documentation/git-push.txt\n+++ b/Documentation/git-push.txt\n@@ -11,7 +11,7 @@ SYNOPSIS\n [verse]\n 'git push' [--all | --mirror | --tags] [--follow-tags] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n \t   [--repo=<repository>] [-f | --force] [--prune] [-v | --verbose] [-u | --set-upstream]\n-\t   [<repository> [<refspec>...]]\n+\t   [--no-verify]  [<repository> [<refspec>...]]\n \n DESCRIPTION\n -----------\n@@ -162,6 +162,11 @@ useful if you write an alias or script around 'git push'.\n \tlinkgit:git-pull[1] and other commands. For more information,\n \tsee 'branch.<name>.merge' in linkgit:git-config[1].\n \n+-n::\n+--no-verify::\n+\tThis option bypasses the pre-commit and commit-msg hooks.\n+\tSee also linkgit:githooks[5].\n+\n --[no-]thin::\n \tThese options are passed to linkgit:git-send-pack[1]. A thin transfer\n \tsignificantly reduces the amount of sent data when the sender and\n-- \nMST\n"},{"id":"218166","messageId":"878v378b8a.fsf@linux-k42r.v.cablecom.net","threadId":"33898","inReplyTo":"20130522104356.GA5472@redhat.com","subject":"Re: [PATCH] push: document --no-verify","fromName":"Thomas Rast","fromEmail":"trast@inf.ethz.ch","sentAt":"2013-05-22T12:12:21Z","receivedAt":"2013-05-22T12:12:21Z","isPatch":true,"sender":{"key":"tr@thomasrast.ch","avatar":"https://avatars.githubusercontent.com/u/153510?v=4"},"body":"\"Michael S. Tsirkin\" <mst@redhat.com> writes:\n\n> commit ec55559f937727bcb0fa8a3dfe6af68c188e968a added\n> --no-verify flag to git push, but didn't document it.\n> It's a useful flag when using pre-push hooks so\n> add the documentation.\n>\n> Suggested-by: Thomas Rast <trast@inf.ethz.ch>\n> Cc: Aaron Schrab <aaron@schrab.com>\n> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>\n[...]\n> +-n::\n> +--no-verify::\n> +\tThis option bypasses the pre-commit and commit-msg hooks.\n> +\tSee also linkgit:githooks[5].\n> +\n\nUmm, half of that is not correct :-)\n\nPush doesn't have the -n short form that git-commit does, and the hook\nnames are wrong.\n\nI also ended up writing a patch myself; sorry for not telling you on\nIRC:\n\n  http://thread.gmane.org/gmane.comp.version-control.git/225141\n\n-- \nThomas Rast\ntrast@{inf,student}.ethz.ch\n"},{"id":"218167","messageId":"20130522121714.GB7707@redhat.com","threadId":"33898","inReplyTo":"878v378b8a.fsf@linux-k42r.v.cablecom.net","subject":"Re: [PATCH] push: document --no-verify","fromName":"Michael S. Tsirkin","fromEmail":"mst@redhat.com","sentAt":"2013-05-22T12:17:14Z","receivedAt":"2013-05-22T12:17:14Z","isPatch":true,"sender":{"key":"mst@kernel.org","avatar":null},"body":"On Wed, May 22, 2013 at 02:12:21PM +0200, Thomas Rast wrote:\n> \"Michael S. Tsirkin\" <mst@redhat.com> writes:\n> \n> > commit ec55559f937727bcb0fa8a3dfe6af68c188e968a added\n> > --no-verify flag to git push, but didn't document it.\n> > It's a useful flag when using pre-push hooks so\n> > add the documentation.\n> >\n> > Suggested-by: Thomas Rast <trast@inf.ethz.ch>\n> > Cc: Aaron Schrab <aaron@schrab.com>\n> > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>\n> [...]\n> > +-n::\n> > +--no-verify::\n> > +\tThis option bypasses the pre-commit and commit-msg hooks.\n> > +\tSee also linkgit:githooks[5].\n> > +\n> \n> Umm, half of that is not correct :-)\n> \n> Push doesn't have the -n short form that git-commit does,\n\nHmm true - in fact -n means dry-run.\n\n> and the hook\n> names are wrong.\n> \n> I also ended up writing a patch myself; sorry for not telling you on\n> IRC:\n> \n>   http://thread.gmane.org/gmane.comp.version-control.git/225141\n\nGreat, thanks.\n\n> -- \n> Thomas Rast\n> trast@{inf,student}.ethz.ch\n"}]}