threads / patch / 13577

patchdoc/git-daemon: s/uploadarchive/uploadarch/

Subject: [PATCH] doc/git-daemon: s/uploadarchive/uploadarch/

## tl;dr

2 messages between May 19, 2008 and May 19, 2008. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Jeff King· May 19, 2008, 20:08 UTC · lore

The git-daemon upload-archive feature has always used the config directive 'daemon.uploadarch'; the documentation which came later seems to have just mistakenly used the wrong name.

Noticed by lionel@over-blog.com.
Signed-off-by: Jeff King <peff@peff.net>
---
Personally, I think uploadarchive is much more readable, but it is too
late to tweak at this point.
 Documentation/git-daemon.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Show changes to Documentation/git-daemon.txt +2 −2
diff --git a/Documentation/git-daemon.txt b/Documentation/git-daemon.txt
index fd83bc7..cf261dd 100644
--- a/Documentation/git-daemon.txt
+++ b/Documentation/git-daemon.txt
@@ -174,7 +174,7 @@ upload-pack::
 upload-archive::
 	This serves `git-archive --remote`.  It is disabled by
 	default, but a repository can enable it by setting
-	`daemon.uploadarchive` configuration item to `true`.
+	`daemon.uploadarch` configuration item to `true`.
 
 receive-pack::
 	This serves `git-send-pack` clients, allowing anonymous
@@ -257,7 +257,7 @@ selectively enable/disable services per repository::
 ----------------------------------------------------------------
 	[daemon]
 		uploadpack = false
-		uploadarchive = true
+		uploadarch = true
 ----------------------------------------------------------------
 
 
-- 
1.5.5.1.447.g3a459
Jon Loeliger· May 19, 2008, 20:34 UTC · re: Jeff King · lore

Re: [PATCH] doc/git-daemon: s/uploadarchive/uploadarch/

Jeff King wrote:
Show 10 quoted lines
> The git-daemon upload-archive feature has always used the
> config directive 'daemon.uploadarch'; the documentation
> which came later seems to have just mistakenly used the
> wrong name.
> 
> Noticed by lionel@over-blog.com.
> 
> Signed-off-by: Jeff King <peff@peff.net>
> ---
> Personally, I think uploadarchive is much more readable,
Agreed.
> but it is too late to tweak at this point.

Oh, I don't know. We could introduce a better spelling if we left the old, lesser spelling around for a compatibility period.

jdl

← back to recent threads