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

Re: [PATCH] Introduce --current option to git-branch builtin command.

From
Kkonglu@minatec.inpg.fr <konglu@minatec.inpg.fr>
Date
Jun 7, 2012, 11:18 UTC
Message-ID
<20120607131800.Horde.yryrAXwdC4BP0I3o4goH21A@webmail.minatec.grenoble-inp.fr>
In-Reply-To
<CAECJ0BmcxeS1q8bw4hN9jDja2g8GGzNyN_v7jC3ehOW70x6CRA@mail.gmail.com>
"Kenta Murata (?? ??)" <mrkn@cookpad.com> a écrit :
> Introducing --current option to git-branch builtin command.
> This option allows us to simply show the current branch name.

In which case would you need to use this option ? Running 'git branch' is faster and would do the same thing. Even though you have a lot of branches as Vincent said (and so the output of 'git branch' would be quite verbose), I do not think that adding an option just for that is relevant.

Lucien Kong
Previous: Junio C HamanoNext: Nguyen Thai Ngoc Duy
Message 4 of 5 in “Introduce --current option to git-branch builtin command.”
  1. Introduce --current option to git-branch builtin command.Kenta Murata (村田 賢太), Jun 7, 2012
  2. Vincent van RavesteijnJun 7, 2012
  3. Junio C HamanoJun 7, 2012
  4. konglu@minatec.inpg.frJun 7, 2012
  5. Nguyen Thai Ngoc DuyJun 7, 2012

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.