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

Re: Improving git branch

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Dec 18, 2014, 10:05 UTC
Message-ID
<5492A6D8.8060509@drmicha.warpmail.net>
In-Reply-To
<xmqqvbla80bm.fsf@gitster.dls.corp.google.com>
Junio C Hamano schrieb am 17.12.2014 um 21:53:
Show 22 quoted lines
> Michael J Gruber <git@drmicha.warpmail.net> writes:
> 
>> Rather than extending "git branch" any further[*], I suggest a bolder
>> strategy:
>>
>> - unify/merge for-each-ref and pretty formats (and code) as far as possible
>> - leverage that for the list modes of branch and tag
>>
>> That would allow everyone to get their favourite listing, just like for
>> logs. Otherwise it would be very difficult to agree on *the* proper
>> format for an extended branch or tag list.
>>
>> Michael
>>
>>
>> [*] I know I'm a sinner, too.
> 
> Actually this is not a "bolder" strategy, but the unification has
> been discussed and agreed to be the longer-term direction for quite
> a while, I think.  Didn't Peff have this in his "things to do when
> absolutely bored" box?
> 

If "waiting for Peff to be bored" is not a bold strategy then I don't know what would be one ;)

Seriously, I didn't feel bold enough to claim that this is agreed upon but I am more than happy that it is!

If I can squeeze out some more git time from my other obligations I'll try and help.

Michael
Previous: Moritz NeebNext: Junio C Hamano
Message 8 of 9 in “Improving git branch”
  1. John TapsellDec 17, 2014
  2. Michael J GruberDec 17, 2014
  3. John TapsellDec 17, 2014
  4. Michael J GruberDec 17, 2014
  5. Junio C HamanoDec 17, 2014
  6. Jeff KingDec 17, 2014
  7. Moritz NeebDec 21, 2014
  8. Michael J GruberDec 18, 2014
  9. Junio C HamanoDec 17, 2014

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.