# [PATCH] Fix minor typo in hook documentation

2 messages from 2016-02-24 to 2016-02-24. Participants: Martin Amdisen, Eric Sunshine.
Thread: https://gitlist.dev/t/41498

## Martin Amdisen, 2016-02-24 12:51

Subject: [PATCH] Fix minor typo in hook documentation
Message-ID: <CACbrkTpA5qL1aTLGG1ypX06fuyFY4GdMAa4JfjoJnGWp_=WaAA@mail.gmail.com>
URL: https://gitlist.dev/e/CACbrkTpA5qL1aTLGG1ypX06fuyFY4GdMAa4JfjoJnGWp_%3DWaAA%40mail.gmail.com

```
>From 3f8fd9e5771791a18e89fdb1f1a681eb6fc66ad1 Mon Sep 17 00:00:00 2001
From: Martin Mosegaard Amdisen <martin.amdisen@praqma.com>
Date: Wed, 24 Feb 2016 08:43:07 +0100
Subject: [PATCH] Fix minor typo in hook documentation

---
 templates/hooks--update.sample | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/hooks--update.sample b/templates/hooks--update.sample
index d847583..80ba941 100755
--- a/templates/hooks--update.sample
+++ b/templates/hooks--update.sample
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# An example hook script to blocks unannotated tags from entering.
+# An example hook script to block unannotated tags from entering.
 # Called by "git receive-pack" with arguments: refname sha1-old sha1-new
 #
 # To enable this hook, rename this file to "update".
--
2.6.4

```

## Eric Sunshine, 2016-02-24 18:07

Subject: Re: [PATCH] Fix minor typo in hook documentation
Message-ID: <CAPig+cT5aOaKRX_Lhq_Lh+Y+=N+UbyTDaEU-YxKPjKoP9+b-sQ@mail.gmail.com>
URL: https://gitlist.dev/e/CAPig%2BcT5aOaKRX_Lhq_Lh%2BY%2B%3DN%2BUbyTDaEU-YxKPjKoP9%2Bb-sQ%40mail.gmail.com
In-Reply-To: <CACbrkTpA5qL1aTLGG1ypX06fuyFY4GdMAa4JfjoJnGWp_=WaAA@mail.gmail.com>

```
Thanks for the submission. See review comments below...

On Wed, Feb 24, 2016 at 7:51 AM, Martin Amdisen
<martin.amdisen@praqma.com> wrote:
> From 3f8fd9e5771791a18e89fdb1f1a681eb6fc66ad1 Mon Sep 17 00:00:00 2001
> From: Martin Mosegaard Amdisen <martin.amdisen@praqma.com>
> Date: Wed, 24 Feb 2016 08:43:07 +0100
> Subject: [PATCH] Fix minor typo in hook documentation

When you re-roll, drop these four lines. The first is only meaningful
in your own local repository, and the rest are picked up automatically
from the email envelope.

Your Signed-off-by: is missing. See Documentation/SubmittingPatches.

The patch itself looks good.

> ---
> diff --git a/templates/hooks--update.sample b/templates/hooks--update.sample
> index d847583..80ba941 100755
> --- a/templates/hooks--update.sample
> +++ b/templates/hooks--update.sample
> @@ -1,6 +1,6 @@
>  #!/bin/sh
>  #
> -# An example hook script to blocks unannotated tags from entering.
> +# An example hook script to block unannotated tags from entering.
>  # Called by "git receive-pack" with arguments: refname sha1-old sha1-new
>  #
>  # To enable this hook, rename this file to "update".
> --

```
