hook: add a simple first example
authorKaartic Sivaraam <kaarticsivaraam91196@gmail.com>
Tue, 11 Jul 2017 14:30:54 +0000 (20:00 +0530)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Jul 2017 20:21:07 +0000 (13:21 -0700)
Add a simple example that replaces an outdated example
that was removed. This ensures that there's at the least
a simple example that illustrates what could be done
using the hook just by enabling it.

Also, update the documentation.

Signed-off-by: Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found