templates/hooks--*: remove sample hooks without any functionality
Remove the sample post-commit and post-receive hooks. The sample post-commit doesn't contain any sample functionality and the comments do not provide more information than already found in the documentation. The sample post-receive hooks doesn't provide any sample functionality either and refers in the comments to a contrib hook that might be installed in different locations on different systems, which isn't that helpful. Signed-off-by: Gerrit Pape <pape@smarden.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Gerrit Pape committed
Sep 27, 2011 at 11:56 UTC
8d714b11df2b65e5f4272c1616e561930010be90
2 files changed
-23
templates/hooks--post-commit.sample
deleted
-8
@@ -1,8 +0,0 @@
1
-#!/bin/sh
2
-#
3
-# An example hook script that is called after a successful
4
-# commit is made.
5
-#
6
-# To enable this hook, rename this file to "post-commit".
7
-
8
-: Nothing
templates/hooks--post-receive.sample
deleted
-15
@@ -1,15 +0,0 @@
1
-#!/bin/sh
2
-#
3
-# An example hook script for the "post-receive" event.
4
-#
5
-# The "post-receive" script is run after receive-pack has accepted a pack
6
-# and the repository has been updated. It is passed arguments in through
7
-# stdin in the form
8
-# <oldrev> <newrev> <refname>
9
-# For example:
10
-# aa453216d1b3e49e7f6f98441fa56946ddcd6a20 68f7abf4e6f922807889f52bc043ecd31b79f814 refs/heads/master
11
-#
12
-# see contrib/hooks/ for a sample, or uncomment the next line and
13
-# rename the file to "post-receive".
14
-
15
-#. /usr/share/doc/git-core/contrib/hooks/post-receive-email