From 8db1ae57409b10ba48596198b329adba7fcb6b1a Mon Sep 17 00:00:00 2001 From: Jonathan Nieder Date: Mon, 10 Jul 2017 16:35:25 -0700 Subject: pre-rebase hook: capture documentation in a < Signed-off-by: Stefan Beller Signed-off-by: Junio C Hamano diff --git a/templates/hooks--pre-rebase.sample b/templates/hooks--pre-rebase.sample index 053f111..b7f81c1 100755 --- a/templates/hooks--pre-rebase.sample +++ b/templates/hooks--pre-rebase.sample @@ -88,9 +88,7 @@ else exit 1 fi -exit 0 - -################################################################ +<<\DOC_END This sample hook safeguards topic branches that have been published from being rewound. @@ -167,3 +165,5 @@ To compute (2): git rev-list master..topic if this is empty, it is fully merged to "master". + +DOC_END -- cgit v0.10.2-6-g49f6