# [PATCH] git-daemon documentation: use {tilde}

5 messages from 2008-12-16 to 2008-12-17. Participants: Miklos Vajna, Michael J Gruber, Matthieu Moy.
Thread: https://gitlist.dev/t/16755

## Miklos Vajna, 2008-12-16 15:48

Subject: [PATCH] git-daemon documentation: use {tilde}
Message-ID: <1229442492-11993-1-git-send-email-vmiklos@frugalware.org>
URL: https://gitlist.dev/e/1229442492-11993-1-git-send-email-vmiklos%40frugalware.org

```
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

```

## Michael J Gruber, 2008-12-16 17:38

Subject: Re: [PATCH] git-daemon documentation: use {tilde}
Message-ID: <4947E7B1.2090608@drmicha.warpmail.net>
URL: https://gitlist.dev/e/4947E7B1.2090608%40drmicha.warpmail.net
In-Reply-To: <1229442492-11993-1-git-send-email-vmiklos@frugalware.org>

```
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

```

## Miklos Vajna, 2008-12-16 17:50

Subject: Re: [PATCH] git-daemon documentation: use {tilde}
Message-ID: <20081216175009.GR5691@genesis.frugalware.org>
URL: https://gitlist.dev/e/20081216175009.GR5691%40genesis.frugalware.org
In-Reply-To: <4947E7B1.2090608@drmicha.warpmail.net>

```
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.)

```

## Matthieu Moy, 2008-12-16 18:05

Subject: Re: [PATCH] git-daemon documentation: use {tilde}
Message-ID: <vpqbpvcro5z.fsf@bauges.imag.fr>
URL: https://gitlist.dev/e/vpqbpvcro5z.fsf%40bauges.imag.fr
In-Reply-To: <4947E7B1.2090608@drmicha.warpmail.net>

```
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

```

## Michael J Gruber, 2008-12-17 09:07

Subject: Re: [PATCH] git-daemon documentation: use {tilde}
Message-ID: <4948C143.8030609@drmicha.warpmail.net>
URL: https://gitlist.dev/e/4948C143.8030609%40drmicha.warpmail.net
In-Reply-To: <vpqbpvcro5z.fsf@bauges.imag.fr>

```
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

```
