threads / patch / 41498

patchFix minor typo in hook documentation

Subject: [PATCH] Fix minor typo in hook documentation

## tl;dr

2 messages between Feb 24, 2016 and Feb 24, 2016. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Martin Amdisen· Feb 24, 2016, 12:51 UTC · lore
>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(-)
Show changes to templates/hooks--update.sample +1 −2
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· Feb 24, 2016, 18:07 UTC · re: Martin Amdisen · lore

Re: [PATCH] Fix minor typo in hook documentation

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.
Show 14 quoted lines
> ---
> 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".
> --

← back to recent threads