From: Junio C Hamano <gitster@pobox.com>
To: Martin von Zweigbergk <martin.von.zweigbergk@gmail.com>
Cc: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>,
Thomas Rast <trast@student.ethz.ch>,
git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>
Subject: Re: [PATCH] rebase -i: remove undocumented '--verify' flag
Date: Tue, 23 Nov 2010 12:14:30 -0800 [thread overview]
Message-ID: <7vfwurvluh.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <alpine.DEB.1.10.1011222103290.17721@debian> (Martin von Zweigbergk's message of "Mon\, 22 Nov 2010 21\:21\:01 +0100 \(CET\)")
Martin von Zweigbergk <martin.von.zweigbergk@gmail.com> writes:
> (I hope this is the correct way of including a patch. I have only used
> 'git send-email before'. I noticed that Jeff seems to remove the first
> three lines and put a '-- 8> --' before, but others do not. What does
> the mysterious header mean?)
> -- >8 --
> Subject: [PATCH] rebase: support --verify
>
> Interactive rebase allows the '--verify' option to be passed, but it will
> be ignored. Implement proper support for the option for both interactive
> and non-interactive rebase by making it override any previous
> '--no-verify'.
>
> Signed-off-by: Martin von Zweigbergk <martin.von.zweigbergk@gmail.com>
Sounds like a sane thing to do.
> diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
> index f3753a8..1f5ce74 100644
> --- a/Documentation/git-rebase.txt
> +++ b/Documentation/git-rebase.txt
> @@ -279,6 +279,10 @@ which makes little sense.
> --no-verify::
> This option bypasses the pre-rebase hook. See also linkgit:githooks[5].
>
> +--verify::
> + Allows the pre-rebase hook to run, which is the default. This option can
> + be used to override --no-verify. See also linkgit:githooks[5].
> +
> -C<n>::
> Ensure at least <n> lines of surrounding context match before
> and after each change. When fewer lines of surrounding
> diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh
> index a27952d..4eabe54 100755
> --- a/git-rebase--interactive.sh
> +++ b/git-rebase--interactive.sh
> @@ -28,6 +28,7 @@ continue continue rebasing process
> abort abort rebasing process and restore original branch
> skip skip current patch and continue rebasing process
> no-verify override pre-rebase hook from stopping the operation
> +verify allow pre-rebase hook to run
Somehow this patch seems severely whitespace mangled---please check your
MUA. I think I've seen Alpine send patches sanely; there should be a way
to tell it to behave.
No need to resend; I can unmunge this patch by hand.
next prev parent reply other threads:[~2010-11-23 20:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-22 6:48 [PATCH] rebase -i: remove undocumented '--verify' flag Martin von Zweigbergk
2010-11-22 12:53 ` Matthieu Moy
2010-11-22 13:14 ` Thomas Rast
2010-11-22 13:29 ` Matthieu Moy
2010-11-22 20:21 ` Martin von Zweigbergk
2010-11-23 2:24 ` Kevin Ballard
2010-11-23 14:41 ` Jeff King
2010-11-23 20:08 ` Junio C Hamano
2010-11-23 20:14 ` Junio C Hamano [this message]
2010-11-24 1:09 ` Martin von Zweigbergk
2010-11-22 13:49 ` Martin von Zweigbergk
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=7vfwurvluh.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=Matthieu.Moy@grenoble-inp.fr \
--cc=git@vger.kernel.org \
--cc=martin.von.zweigbergk@gmail.com \
--cc=trast@student.ethz.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.