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

Re: [PATCH 4/4] Replace fork_with_pipe in bundle with run_command

From
Shawn O. Pearce <spearce@spearce.org>
Date
Mar 13, 2007, 00:56 UTC
Message-ID
<20070313005621.GA17243@spearce.org>
In-Reply-To
<7v3b4aotd9.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
Show 19 quoted lines
> "Shawn O. Pearce" <spearce@spearce.org> writes:
> 
> > Junio C Hamano <junkio@cox.net> wrote:
> >> "Shawn O. Pearce" <spearce@spearce.org> writes:
> >> >  	return status;
> >> 
> >> As the variable 'status' is not used anymore, I think this should return 0.
> >
> > Indeed.  I replaced that patch with another (same subject) in my
> > latest series.  Because leaving that 'status' variable in caused
> > a failure in the test suite when trying to create a bundle.
> >
> >   fixed:  http://article.gmane.org/gmane.comp.version-control.git/42087
> >   borked: http://article.gmane.org/gmane.comp.version-control.git/42056
> >
> > You quoted the borked one.  Please drop it and apply the fixed one.
> 
> Ok, diffing these two the only differences I see are identical
> to what I locally hand-fixed, so we are Ok it seems.

Yes, the only difference between the two patches was the unused 'status' variable, and returning 0 when we did actually make the bundle successfully. ;-)

Sorry for the pain today. I usually try harder to avoid problems like this...

-- 
Shawn.
Previous: Junio C Hamano
Message 5 of 5 in “Replace fork_with_pipe in bundle with run_command”
  1. 4/4 Replace fork_with_pipe in bundle with run_commandShawn O. Pearce, Mar 12, 2007
  2. Junio C HamanoMar 12, 2007
  3. Shawn O. PearceMar 13, 2007
  4. Junio C HamanoMar 13, 2007
  5. Shawn O. PearceMar 13, 2007

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.