author | Nanako Shiraishi <nanako3@lavabit.com> | |
Mon, 6 Oct 2008 05:14:24 +0000 (14:14 +0900) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 6 Oct 2008 08:19:14 +0000 (01:19 -0700) | ||
commit | d70b4a8f4ba79fb83dc95e9483f9fb3feaf578b7 | |
tree | 56208dadfbdd238a76b6a7c254900ef7fc9a0f86 | tree | snapshot |
parent | 00e5d48a9aef3228496d6f517a272fa095c562fe | commit | diff |
Teach rebase -i to honor pre-rebase hook
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>
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>
git-rebase--interactive.sh | diff | blob | history | |
git-rebase.sh | diff | blob | history | |
t/t3409-rebase-hook.sh | [new file with mode: 0755] | blob |