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

Re: [PATCH 1/2] git-svn.perl: consider all ranges for a given merge, instead of only tip-by-tip

From
EWEric Wong <normalperson@yhbt.net>
Date
May 24, 2012, 03:02 UTC
Message-ID
<20120524030255.GA23382@dcvr.yhbt.net>
In-Reply-To
<1337820046-4791-1-git-send-email-stevenrwalter@gmail.com>
Steven Walter <stevenrwalter@gmail.com> wrote:

I'll wait for input on others who understand mergeinfo better than I do to chime in on the actual changes. Some nits on the tests:

> +# Copyright (c) 2010 Steven Walter
2010?
> +test_expect_success 'verify merge commit' 'x=$(git rev-parse HEAD^2) &&
> +	y=$(git rev-parse branch2) &&
> +	[ $x == $y ]

== is a bash-ism, and we prefer 'test'. A single '=' works fine here, but it's probably better to prefix and quote if you're paranoid:

	test "x$x" = "x$y"
Previous: Steven Walter
Message 3 of 3 in “git-svn.perl: consider all ranges for a given merge, instead of only tip-by-tip”
  1. 1/2 git-svn.perl: consider all ranges for a given merge, instead of only tip-by-tipSteven Walter, May 24, 2012
  2. 2/2 git-svn.perl: keep processing all commits in parents_excludeSteven Walter, May 24, 2012
  3. Eric WongMay 24, 2012

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.