git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: Marc PegonNext: Nguyen Thai Ngoc Duy
Message 2 of 5 in “Fix usage of git-init and git-init-db documentation”
  1. Fix usage of git-init and git-init-db documentationMarc Pegon, May 24, 2011
  2. Junio C HamanoMay 24, 2011
  3. Nguyen Thai Ngoc DuyMay 24, 2011
  4. Junio C HamanoMay 24, 2011
  5. Nguyen Thai Ngoc DuyMay 24, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.