summaryrefslogtreecommitdiff
path: root/t/t3409-rebase-hook.sh
Commit message (Collapse)AuthorAgeFilesLines
* tests: Avoid single-shot environment export for shell function invocationJunio C Hamano2009-01-261-1/+5
| | | | | | | | Some shells have issues with a single-shot environment variable export when invoking a shell function. This fixes the ones I found that invoke test_must_fail that way. Signed-off-by: Junio C Hamano <gitster@pobox.com>
* rebase --no-verifyNanako Shiraishi2008-10-061-0/+16
| | | | | | | | | | | | It is sometimes desirable to disable the safety net of pre-rebase hook when the user knows what he is doing (for example, when the original changes on the branch have not been shown to the public yet). This teaches --no-verify option to git-rebase, which is similar to the way pre-commit hook is bypassed by git-commit. Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
* Teach rebase -i to honor pre-rebase hookNanako Shiraishi2008-10-061-0/+126
The original git-rebase honored pre-rebase hook so that public branches can be protected from getting rebased, but rebase --interactive ignored the hook entirely. This fixes it. Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>