Code

Teach rebase -i to honor pre-rebase hook
authorNanako Shiraishi <nanako3@lavabit.com>
Mon, 6 Oct 2008 05:14:24 +0000 (14:14 +0900)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 6 Oct 2008 08:19:14 +0000 (01:19 -0700)
commitd70b4a8f4ba79fb83dc95e9483f9fb3feaf578b7
tree56208dadfbdd238a76b6a7c254900ef7fc9a0f86
parent00e5d48a9aef3228496d6f517a272fa095c562fe
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>
git-rebase--interactive.sh
git-rebase.sh
t/t3409-rebase-hook.sh [new file with mode: 0755]