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

Re: [PATCH jh/notes] t3301-notes: insert a shbang line in ./fake_editor.sh

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 25, 2010, 16:42 UTC
Message-ID
<7v3a0pcln4.fsf@alter.siamese.dyndns.org>
In-Reply-To
<4B865376.9030209@viscovery.net>
Johannes Sixt <j.sixt@viscovery.net> writes:
Show 12 quoted lines
> diff --git a/t/t3301-notes.sh b/t/t3301-notes.sh
> index 90178f9..37b9687 100755
> --- a/t/t3301-notes.sh
> +++ b/t/t3301-notes.sh
> @@ -8,6 +8,7 @@ test_description='Test commit notes'
>  . ./test-lib.sh
>
>  cat > fake_editor.sh << \EOF
> +#!/bin/sh
>  echo "$MSG" > "$1"
>  echo "$MSG" >& 2
>  EOF
Thanks.
Shouldn't that be "#!$SHELL_PATH", though?
Previous: Johan HerlandNext: Johannes Sixt
Message 3 of 4 in “t3301-notes: insert a shbang line in ./fake_editor.sh”
  1. t3301-notes: insert a shbang line in ./fake_editor.shJohannes Sixt, Feb 25, 2010
  2. Johan HerlandFeb 25, 2010
  3. Junio C HamanoFeb 25, 2010
  4. Johannes SixtFeb 25, 2010

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.