summaryrefslogtreecommitdiff
path: root/t/lib-diff-data.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-10-25 16:07:01 -0700
committerJunio C Hamano <gitster@pobox.com>2021-10-25 16:07:01 -0700
commitc6fc44e9bf85dc02f6d33b11d9b5d1e10711d125 (patch)
tree9bfc36897f083debfb0706f0b6703b304ecf0dea /t/lib-diff-data.sh
parent63ec2297d26155adb0e38745bf2284cd663add8e (diff)
parent1c720357cef6e5af2aef5a31ecacad7752fbf9cc (diff)
downloadgit-c6fc44e9bf85dc02f6d33b11d9b5d1e10711d125.tar.xz
Merge branch 'ab/test-lib-diff-cleanup'
Test clean-up. * ab/test-lib-diff-cleanup: tests: stop using top-level "README" and "COPYING" files "lib-diff" tests: make "README" and "COPYING" test data smaller
Diffstat (limited to 't/lib-diff-data.sh')
-rw-r--r--t/lib-diff-data.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/t/lib-diff-data.sh b/t/lib-diff-data.sh
new file mode 100644
index 0000000000..c64ec18324
--- /dev/null
+++ b/t/lib-diff-data.sh
@@ -0,0 +1,22 @@
+COPYING_test_data () {
+ cat <<\EOF
+
+ Note that the only valid version of the GPL as far as this project
+ is concerned is _this_ particular version of the license (ie v2, not
+ v2.2 or v3.x or whatever), unless explicitly otherwise stated.
+
+ HOWEVER, in order to allow a migration to GPLv3 if that seems like
+ a good idea, I also ask that people involved with the project make
+ their preferences known. In particular, if you trust me to make that
+ decision, you might note so in your copyright message, ie something
+ like
+
+ This file is licensed under the GPL v2, or a later version
+ at the discretion of Linus.
+
+ might avoid issues. But we can also just decide to synchronize and
+ contact all copyright holders on record if/when the occasion arises.
+
+ Linus Torvalds
+EOF
+}