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

Re: [JGIT PATCH] RevWalk: Fix RevSort.REVERSE combined with RevSort.TOPO

From
Shawn O. Pearce <spearce@spearce.org>
Date
Sep 7, 2008, 21:32 UTC
Message-ID
<20080907213227.GB15460@spearce.org>
In-Reply-To
<200809072321.59789.robin.rosenberg.lists@dewire.com>
Robin Rosenberg <robin.rosenberg.lists@dewire.com> wrote:
Show 9 quoted lines
> söndagen den 7 september 2008 23.00.08 skrev Shawn O. Pearce:
> > From: Shawn O. Pearce <sop@google.com>
> > 
> > The reverse sort was using the initial pending queue, not the
> > generator that comes before it in the workflow.  This caused
> > a combination of TOPO and REVERSE to return no commits.
> 
> Some unit tests to back this up would be nice. We running low on
> coverage in this section of code.

Yea, I know. Its way back on my things-to-do list. Right now I'm a bit too swamped with day-job to try and put unit tests into the revwalk package. There's two open issues on the issue tracker that tests should be able to cover and permit debugging of.

I'll come back to revwalk tests. I did some tests for treewalk not too long ago, but even more are still need there too. And lets not even mention the transport package. ;-)

I ran into this bug because I was relying on RevWalk in my day-job
project.  When it barfed I fixed it, and moved on.
 
> > Signed-off-by: Shawn O. Pearce <sop@google.com>
> 
> No idea Google employees had this short email addresses.  Ok, 27x27x27 = 19683 
> would be sufficient in theory, I'd suppose.

Yea, you can get a short address if you ask nicely. Given that everything is email based its nice having a short address. Makes it easy to tell others in person how to reach me. Fortunately most of the company uses longer addresses, so three (and four) letter words are still available.

I must not have my egit.git repository configured right on my work laptop. I usually don't do egit work there.

-- 
Shawn.
Previous: Robin Rosenberg
Message 4 of 4 in “RevWalk: Fix RevSort.REVERSE combined with RevSort.TOPO”
  1. RevWalk: Fix RevSort.REVERSE combined with RevSort.TOPOShawn O. Pearce, Sep 7, 2008
  2. Shawn O. PearceSep 7, 2008
  3. Robin RosenbergSep 7, 2008
  4. Shawn O. PearceSep 7, 2008

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.