Skip to contentSkip to conversation

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

PATCH In review Jeff King 2 participants 2 messages Jun 15, 2016 Documentation

lore
Share & tools
lore

Jeff King

author
#0 lore raw

PATCH 1/1 doc/git-daemon: s/uploadarchive/uploadarch/

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 [email protected].

---
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(-)
Documentation/git-daemon.txt +2 -2
index fd83bc7..cf261dd 100644
@@ -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
 ----------------------------------------------------------------
 
 
Signature · 1 line
1.5.5.1.447.g3a459
#1 lore raw
Quoted 10 lines · Jeff King

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 [email protected].

---
Personally, I think uploadarchive is much more readable,

Agreed.

Quoted 1 line

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