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

Re: [PATCH 4/5] Add test for sanitized work-tree behaviour

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 26, 2007, 07:15 UTC
Message-ID
<7vfy3b8wkp.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0707260732130.14781@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 18 quoted lines
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
> ---
> ...
> @@ -3,90 +3,109 @@
>  test_description='test separate work tree'
>  . ./test-lib.sh
>  
> +i=1
> +
>  test_rev_parse() {
> - ...
> +	name="$1"
> +	for option in --is-bare-repository --is-inside-git-dir \
> +		--is-inside-work-tree --show-prefix
> +	do
> +		shift
> +		test_expect_success "$name: $option" \
> +			"test '$1' = \"\$(git rev-parse $option)\""
> +i=$(($i+1))
> +test $i = $STOPI && gdb --args git rev-parse $option
Eh?
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 2 of 3 in “Add test for sanitized work-tree behaviour”
  1. 4/5 Add test for sanitized work-tree behaviourJohannes Schindelin, Jul 26, 2007
  2. Junio C HamanoJul 26, 2007
  3. Johannes SchindelinJul 26, 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.