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

Re: What's cooking in git.git (Jan 2018, #03; Tue, 23)

From
JHJeff Hostetler <git@jeffhostetler.com>
Date
Jan 24, 2018, 15:26 UTC
Message-ID
<d154319e-bb9e-b300-7c37-27b1dcd2a2ce@jeffhostetler.com>
In-Reply-To
<xmqqefmgfbcx.fsf@gitster.mtv.corp.google.com>
On 1/23/2018 5:39 PM, Junio C Hamano wrote:
Show 9 quoted lines
> [Stalled]
> 
> * jh/status-no-ahead-behind (2018-01-04) 4 commits
>   - status: support --no-ahead-behind in long format
>   - status: update short status to respect --no-ahead-behind
>   - status: add --[no-]ahead-behind to status and commit for V2 format.
>   - stat_tracking_info: return +1 when branches not equal
> 
>   Expecting a reroll to finalize the topic.

I sent a V5 (1/9/2018) of this series that removed the config setting. It looks like your branch on GH only has the V4 version.

WRT the reroll: There was a long discussion on a limited calculation (option (2)). While I appreciate how that would be nice to have (for some simple cases -- like my current feature branch relative to my upstream), I think that that is something we could add later if we want.

(*) This patch gives a simple on/off.  This has value by itself for
     certain situations.
(*) To implement a limit would involve hacking the merge-base
     calculation which gets into graph shape questions that I don't
     think we want to get into.  Several messages in the thread talk
     about some example shapes, but I don't think we have consensus on
     what we want here.
(*) Later this week Stolee will be submitting a patch series that add
     a client-side commit graph cache.  This allows fast calculations
     and includes generation numbers.  I'd rather wait until we have
     this in and then see if we want/need the limited option.

Thanks, Jeff

Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 3 in “What's cooking in git.git (Jan 2018, #03; Tue, 23)”
  1. Junio C HamanoJan 23, 2018
  2. Jeff HostetlerJan 24, 2018
  3. Junio C HamanoJan 24, 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.