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

Re: `Git Status`-like output for two local branches

From
Jeff King <peff@peff.net>
Date
Sep 5, 2009, 08:17 UTC
Message-ID
<20090905081726.GA7109@coredump.intra.peff.net>
In-Reply-To
<fabb9a1e0909020118m2fe2e6e1g79cc83ce941ac000@mail.gmail.com>
On Wed, Sep 02, 2009 at 10:18:54AM +0200, Sverre Rabbelier wrote:
Show 9 quoted lines
> On Wed, Sep 2, 2009 at 09:57, Jeff King<peff@peff.net> wrote:
> >  2. Count the commits on each side that are not in the other.
> 
> [...]
> 
> >      You can also do that by parsing the output of:
> >       git rev-list --left-right $a...$b --
> 
> Perhaps it is useful to introduce a --left-right-count or such?

I'm not opposed to that if it is something a lot of people found useful, but I am not sure we have established that as the case (I am curious to hear from Tim what his actual use case is).

-Peff
Previous: Sverre RabbelierNext: demerphq
Message 4 of 6 in “`Git Status`-like output for two local branches”
  1. Tim VisherAug 31, 2009
  2. Jeff KingSep 2, 2009
  3. Sverre RabbelierSep 2, 2009
  4. Jeff KingSep 5, 2009
  5. demerphqSep 5, 2009
  6. Jeff KingSep 9, 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.