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

Re: [PATCH 0/2] branch: introduce --current display option

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Oct 10, 2018, 09:29 UTC
Message-ID
<CAPig+cTp-cFKX2Kqj-yV7OtgmxDo7Mp7i0TUXU7JGYdgtbHiug@mail.gmail.com>
In-Reply-To
<xmqq8t36q1k6.fsf@gitster-ct.c.googlers.com>
On Tue, Oct 9, 2018 at 4:59 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 7 quoted lines
> My inclination is to recommend to:
>
>  (1) name the "show the current one" not "--current" but with some
>      verb
>
>  (2) display nothing when there is no current branch (i.e. detached
>      HEAD) and without any error.

Sensible suggestions. Also, please documentation any new option(s) in Documentation/git-branch.txt.

Previous: Junio C HamanoNext: Eric Sunshine
Message 3 of 9 in “branch: introduce --current display option”
  1. 0/2 branch: introduce --current display optionDaniels Umanovskis, Oct 9, 2018
  2. Junio C HamanoOct 9, 2018
  3. Eric SunshineOct 10, 2018
  4. Eric SunshineOct 10, 2018
  5. Rafael AscensãoOct 10, 2018
  6. brian m. carlsonOct 10, 2018
  7. Ævar Arnfjörð BjarmasonOct 10, 2018
  8. Daniels UmanovskisOct 10, 2018
  9. Stefan BellerOct 10, 2018

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.