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

Re: [PATCH] submodules: allow empty working-tree dirs in merge/cherry-pick

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 18, 2016, 04:47 UTC
Message-ID
<xmqqwpg1mm11.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<1478543491-6286-1-git-send-email-dturner@twosigma.com>
David Turner <dturner@twosigma.com> writes:
Show 17 quoted lines
> diff --git a/t/t3030-merge-recursive.sh b/t/t3030-merge-recursive.sh
> index 470f334..be074a1 100755
> --- a/t/t3030-merge-recursive.sh
> +++ b/t/t3030-merge-recursive.sh
> @@ -575,13 +575,13 @@ test_expect_success 'merge removes empty directories' '
>  	test_must_fail test -d d
>  '
>  
> -test_expect_failure 'merge-recursive simple w/submodule' '
> +test_expect_success 'merge-recursive simple w/submodule' '
>  
>  	git checkout submod &&
>  	git merge remove
>  '
>  
> -test_expect_failure 'merge-recursive simple w/submodule result' '
> +test_expect_sucess 'merge-recursive simple w/submodule result' '

Here is a typo. I wonder if we want to do "set -e" at the end of test-lib.sh to catch a breakage like this. I only caught it by being lucky (I was staring "make test" output as it flew by).

I've already amended the copy I have, but in case you are going to reroll in the future, please do not forget to update your copy.

Previous: Stefan Beller
Message 5 of 5 in “submodules: allow empty working-tree dirs in merge/cherry-pick”
  1. submodules: allow empty working-tree dirs in merge/cherry-pickDavid Turner, Nov 7, 2016
  2. Stefan BellerNov 7, 2016
  3. David TurnerNov 7, 2016
  4. Stefan BellerNov 7, 2016
  5. Junio C HamanoNov 18, 2016

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.