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

Re: [PATCH 3/3] git-rebase--interactive.sh: Make 3-way merge strategies work for -p.

From
Björn Steinbrink <b.steinbrink@gmx.de>
Date
Oct 31, 2007, 02:53 UTC
Message-ID
<20071031025320.GA1375@atjola.homenet>
In-Reply-To
<Pine.LNX.4.64.0710310239100.4362@racer.site>
Hi Dscho,
On 2007.10.31 02:42:03 +0000, Johannes Schindelin wrote:
Show 11 quoted lines
> Hi Björn,
> 
> On Wed, 31 Oct 2007, Björn Steinbrink wrote:
> 
> > +			new_parents=${new_parents# $first_parent}
> 
> I wanted to comment that this might not be present in shells other than 
> bash, but I see that we rely on that construct already in am, clone, 
> commit, filter-branch, merge, pull, rebase, stash and submodule.
>
> So I think it's okay.

Actually, I checked first that it's not bash-only (I saw the flames about that on lkml some time ago, so I've been scared ;-)). Works fine with dash here and it's in the posix sh specs. See 2.6.2 in http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html

So I hope that there's a bit of a broader support for it :-)
> The whole series is _very_ nicely done, and appears to me as obviously 
> correct.
Thanks :-)
Björn
Previous: Johannes Schindelin
Message 5 of 5 in “Fix --strategy parsing in git-rebase--interactive.sh”
  1. 1/3 Fix --strategy parsing in git-rebase--interactive.shBjörn Steinbrink, Oct 31, 2007
  2. 2/3 git-rebase--interactive.sh: Don't pass a strategy to git-cherry-pick.Björn Steinbrink, Oct 31, 2007
  3. 3/3 git-rebase--interactive.sh: Make 3-way merge strategies work for -p.Björn Steinbrink, Oct 31, 2007
  4. Johannes SchindelinOct 31, 2007
  5. Björn SteinbrinkOct 31, 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.