[PATCH] Fix minor typo in hook documentation

Subsystems: the rest

DORMANTno replies

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

[PATCH] Fix minor typo in hook documentation

From: Martin Amdisen <hidden>
Date: 2016-06-15 23:08:24

From 3f8fd9e5771791a18e89fdb1f1a681eb6fc66ad1 Mon Sep 17 00:00:00 2001
From: Martin Mosegaard Amdisen <redacted>
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

Re: [PATCH] Fix minor typo in hook documentation

From: Eric Sunshine <hidden>
Date: 2016-06-15 23:08:24

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

On Wed, Feb 24, 2016 at 7:51 AM, Martin Amdisen
[off-list ref] wrote:
From 3f8fd9e5771791a18e89fdb1f1a681eb6fc66ad1 Mon Sep 17 00:00:00 2001
From: Martin Mosegaard Amdisen <redacted>
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.
quoted hunk
---
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".
--
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help