Re: [PATCH] Fix usage of git-init and git-init-db documentation
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 24, 2011, 15:58 UTC
- Message-ID
- <7voc2s850z.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1306248113-19948-1-git-send-email-pegon.marc@gmail.com>
Marc Pegon <pegon.marc@gmail.com> writes:
> These were not updated in commit b57fb80a7d7 (init, clone: support --separate-git-dir for .git file)
Too long a line?
I think "Fix usage" on the title can be clarified a lot to make the entry for this commit in the "shortlog" output meaningful.
Show 9 quoted lines
> Signed-off-by: Marc Pegon <pegon.marc@gmail.com> > --- > ... > SYNOPSIS > -------- > -'git init-db' [-q | --quiet] [--bare] [--template=<template_directory>] [--shared[=<permissions>]] > +'git init-db' [-q | --quiet] [--bare] [--template=<template_directory>] > + [--separate-git-dir|-L <git dir>] > + [--shared[=<permissions>]] [directory]
This is wrong, isn't it? It looks as if you can give "--separate-git-dir" (without anything else), or you can give "-L <dir>".
By the way, the change seems to have slipped in while I wasn't paying too much attention, but who came up with this silly capital 'L'? As it hasn't been advertised in the documentation (lucky us), it probably is not too late to remove it.