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

[PATCH v1 1/2] t/README: remove mention of adding copyright notices

From
Thomas Gummerer <t.gummerer@gmail.com>
Date
Nov 26, 2017, 20:20 UTC
Message-ID
<20171126202100.1658-1-t.gummerer@gmail.com>

We generally no longer include copyright notices in new test scripts. However t/README still mentions it as something to include at the top of every new script.

Remove that mention as it's outdated.
Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
---

I read through some parts of t/README, while working on the tests for the worktree dwim patches, and noticed some things that are outdated/a useful function that's not documented anywhere. Here's a couple of patches to fix that.

 t/README | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/t/README b/t/README
index 4b079e4494..448569b60e 100644
--- a/t/README
+++ b/t/README
@@ -332,13 +332,10 @@ Writing Tests
 -------------
 
 The test script is written as a shell script.  It should start
-with the standard "#!/bin/sh" with copyright notices, and an
+with the standard "#!/bin/sh", and an
 assignment to variable 'test_description', like this:
 
 	#!/bin/sh
-	#
-	# Copyright (c) 2005 Junio C Hamano
-	#
 
 	test_description='xxx test (option --frotz)
 
-- 
2.15.0.426.gb06021eeb
Next: Thomas Gummerer
Message 1 of 5 in “t/README: remove mention of adding copyright notices”
  1. 1/2 t/README: remove mention of adding copyright noticesThomas Gummerer, Nov 26, 2017
  2. 2/2 t/README: document test_cmp_revThomas Gummerer, Nov 26, 2017
  3. Jonathan NiederDec 5, 2017
  4. Jonathan NiederDec 5, 2017
  5. Thomas GummererDec 8, 2017

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.