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

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

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Feb 25, 2010, 10:39 UTC
Message-ID
<4B865376.9030209@viscovery.net>
From: Johannes Sixt <j6t@kdbg.org>

This is required on Windows because git-notes is now a built-in rather than a shell script.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
---
 t/t3301-notes.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
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
-- 
1.7.0.1285.g1a907.dirty
Next: Johan Herland
Message 1 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.