Merge branch 'jn/hooks-pre-rebase-sample-fix'

Code clean-up, that makes us in sync with Debian by one patch.

* jn/hooks-pre-rebase-sample-fix:
  pre-rebase hook: capture documentation in a <<here document
This commit is contained in:
Junio C Hamano 2017-07-18 12:48:10 -07:00
commit 1115749223

View File

@ -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