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

Re: [PATCH] Documentation: Update the style of 'git-describe' command.

From
Thiago Farina <tfransosi@gmail.com>
Date
Sep 23, 2009, 01:24 UTC
Message-ID
<a4c8a6d00909221824u617a9812j11af45b39e06c6d5@mail.gmail.com>
In-Reply-To
<7v3a6eo759.fsf@alter.siamese.dyndns.org>
On Tue, Sep 22, 2009 at 8:07 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 19 quoted lines
> Thiago Farina <tfransosi@gmail.com> writes:
>
>>  $ git describe -h
>> -usage: git-describe [options] <committish>*
>> +usage: git describe [options] <commit-ish>*
>
> I think the first half of this line is correct but the other half is not.
>
> $ git grep --color -c -e committish -- Documentation/
> Documentation/git-describe.txt:6
> Documentation/git-fast-import.txt:8
> Documentation/git-name-rev.txt:1
> Documentation/git-shortlog.txt:1
> Documentation/gitcli.txt:1
> Documentation/howto/revert-branch-rebase.txt:1
>
> $ git grep --color -c -e commit-ish -- Documentation/
> Documentation/git-rebase.txt:1
> Documentation/git.txt:2

I did this: git$ grep --color -n "commit-ish" *.c builtin-revert.c:29: "git revert [options] <commit-ish>", builtin-revert.c:34: "git cherry-pick [options] <commit-ish>", builtin-send-pack.c:368: * (3) if both new and old are commit-ish, and new is a remote.c:1388: /* Both new and old must be commit-ish and new is descendant of

git$ grep --color -n "committish" *.c builtin-describe.c:13: "git describe [options] <committish>*", builtin-merge.c:885: * committish that is the same as HEAD there instead.

Previous: Junio C Hamano
Message 3 of 3 in “Documentation: Update the style of 'git-describe' command.”
  1. Documentation: Update the style of 'git-describe' command.Thiago Farina, Sep 22, 2009
  2. Junio C HamanoSep 23, 2009
  3. Thiago FarinaSep 23, 2009

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.