git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git-daemon documentation: use {tilde}
@ 2008-12-16 15:48 Miklos Vajna
  2008-12-16 17:38 ` Michael J Gruber
  0 siblings, 1 reply; 5+ messages in thread
From: Miklos Vajna @ 2008-12-16 15:48 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

Use '{tilde}' instead of '~', becase the later does not appear in the
manpage version, just in the HTML one.

Noticed by gonzzor on IRC.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
---
 Documentation/git-daemon.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/git-daemon.txt b/Documentation/git-daemon.txt
index f1a570a..36f00ae 100644
--- a/Documentation/git-daemon.txt
+++ b/Documentation/git-daemon.txt
@@ -110,9 +110,9 @@ OPTIONS
 
 --user-path::
 --user-path=path::
-	Allow ~user notation to be used in requests.  When
+	Allow {tilde}user notation to be used in requests.  When
 	specified with no parameter, requests to
-	git://host/~alice/foo is taken as a request to access
+	git://host/{tilde}alice/foo is taken as a request to access
 	'foo' repository in the home directory of user `alice`.
 	If `--user-path=path` is specified, the same request is
 	taken as a request to access `path/foo` repository in
-- 
1.6.1.rc1.35.gae26e.dirty

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] git-daemon documentation: use {tilde}
  2008-12-16 15:48 [PATCH] git-daemon documentation: use {tilde} Miklos Vajna
@ 2008-12-16 17:38 ` Michael J Gruber
  2008-12-16 17:50   ` Miklos Vajna
  2008-12-16 18:05   ` Matthieu Moy
  0 siblings, 2 replies; 5+ messages in thread
From: Michael J Gruber @ 2008-12-16 17:38 UTC (permalink / raw)
  To: Miklos Vajna; +Cc: Junio C Hamano, git

Miklos Vajna venit, vidit, dixit 16.12.2008 16:48:
> Use '{tilde}' instead of '~', becase the later does not appear in the
> manpage version, just in the HTML one.

Curiously, "git help daemon" (which execs "man git-daemon") displays the
tilde but "man git-daemon" does not (nor does "konqueror
man:git-daemon"). Humh?

Michael

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] git-daemon documentation: use {tilde}
  2008-12-16 17:38 ` Michael J Gruber
@ 2008-12-16 17:50   ` Miklos Vajna
  2008-12-16 18:05   ` Matthieu Moy
  1 sibling, 0 replies; 5+ messages in thread
From: Miklos Vajna @ 2008-12-16 17:50 UTC (permalink / raw)
  To: Michael J Gruber; +Cc: Junio C Hamano, git

[-- Attachment #1: Type: text/plain, Size: 364 bytes --]

On Tue, Dec 16, 2008 at 06:38:57PM +0100, Michael J Gruber <git@drmicha.warpmail.net> wrote:
> Curiously, "git help daemon" (which execs "man git-daemon") displays the
> tilde but "man git-daemon" does not (nor does "konqueror
> man:git-daemon"). Humh?

'git help daemon' is wrong for me - without the patch - as well.

(Though I never use the git help foo form.)

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] git-daemon documentation: use {tilde}
  2008-12-16 17:38 ` Michael J Gruber
  2008-12-16 17:50   ` Miklos Vajna
@ 2008-12-16 18:05   ` Matthieu Moy
  2008-12-17  9:07     ` Michael J Gruber
  1 sibling, 1 reply; 5+ messages in thread
From: Matthieu Moy @ 2008-12-16 18:05 UTC (permalink / raw)
  To: Michael J Gruber; +Cc: Miklos Vajna, Junio C Hamano, git

Michael J Gruber <git@drmicha.warpmail.net> writes:

> Miklos Vajna venit, vidit, dixit 16.12.2008 16:48:
>> Use '{tilde}' instead of '~', becase the later does not appear in the
>> manpage version, just in the HTML one.
>
> Curiously, "git help daemon" (which execs "man git-daemon") displays the
> tilde but "man git-daemon" does not (nor does "konqueror
> man:git-daemon"). Humh?

You probably have two manpages because of two git installations. "man"
will take the one in your manpath, and git will try to find the one
corresponding to the version of git you actually launched.

-- 
Matthieu

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] git-daemon documentation: use {tilde}
  2008-12-16 18:05   ` Matthieu Moy
@ 2008-12-17  9:07     ` Michael J Gruber
  0 siblings, 0 replies; 5+ messages in thread
From: Michael J Gruber @ 2008-12-17  9:07 UTC (permalink / raw)
  To: Matthieu Moy; +Cc: Miklos Vajna, Junio C Hamano, git

Matthieu Moy venit, vidit, dixit 16.12.2008 19:05:
> Michael J Gruber <git@drmicha.warpmail.net> writes:
> 
>> Miklos Vajna venit, vidit, dixit 16.12.2008 16:48:
>>> Use '{tilde}' instead of '~', becase the later does not appear in the
>>> manpage version, just in the HTML one.
>> Curiously, "git help daemon" (which execs "man git-daemon") displays the
>> tilde but "man git-daemon" does not (nor does "konqueror
>> man:git-daemon"). Humh?
> 
> You probably have two manpages because of two git installations. "man"
> will take the one in your manpath, and git will try to find the one
> corresponding to the version of git you actually launched.

You're right! I have current pages in ~/share/man/man? and older ones in
~/man/man?. I guess the latter is in the standard search path (I don't
have MANPATH set) but the former is not. I probably dumped a man-tarball
in the standard place back when I didn't know about quick-install-doc.
Now I'm just wondering why ~/share/man is the standard target for git
and ~/man in the standard man path, at least on (K)Ubuntu 7.10 at my
workplace.

Michael

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-12-17  9:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-16 15:48 [PATCH] git-daemon documentation: use {tilde} Miklos Vajna
2008-12-16 17:38 ` Michael J Gruber
2008-12-16 17:50   ` Miklos Vajna
2008-12-16 18:05   ` Matthieu Moy
2008-12-17  9:07     ` Michael J Gruber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).