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

Re: [PATCH] Documentation: restore a space in unpack-objects usage

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 31, 2013, 22:09 UTC
Message-ID
<xmqqy5592itp.fsf@gitster.dls.corp.google.com>
In-Reply-To
<1383255671-12784-1-git-send-email-vivien.didelot@savoirfairelinux.com>
Vivien Didelot <vivien.didelot@savoirfairelinux.com> writes:
Show 18 quoted lines
> The commit 87b7b84 removed a space in the unpack-objects usage, which
> makes the synopsis a bit confusing. This patch simply restores it.
>
> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
> ---
>  Documentation/git-unpack-objects.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/git-unpack-objects.txt b/Documentation/git-unpack-objects.txt
> index ff23494..817788e 100644
> --- a/Documentation/git-unpack-objects.txt
> +++ b/Documentation/git-unpack-objects.txt
> @@ -9,7 +9,7 @@ git-unpack-objects - Unpack objects from a packed archive
>  SYNOPSIS
>  --------
>  [verse]
> -'git unpack-objects' [-n] [-q] [-r] [--strict] <pack-file
> +'git unpack-objects' [-n] [-q] [-r] [--strict] < pack-file
Thanks; that change was indeed not intended.

Looking at synopsis sections for other commands that take their input from the standard input (e.g. "git check-attr"), I think we should make it clear that "pack-file" is not to be spelled as-is at the same time, i.e.

	'git unpack-objects' [-n] [-q] [-r] [--strict] < <pack-file>
Previous: Vivien DidelotNext: Vivien Didelot
Message 2 of 3 in “Documentation: restore a space in unpack-objects usage”
  1. Documentation: restore a space in unpack-objects usageVivien Didelot, Oct 31, 2013
  2. Junio C HamanoOct 31, 2013
  3. Documentation: "pack-file" is not literal in unpack-objectsVivien Didelot, Nov 1, 2013

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.