summaryrefslogtreecommitdiff
path: root/t/perf/perf-lib.sh
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2013-11-25 21:03:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-11-26 22:23:52 (GMT)
commitc74c72034f061d1d9d5b8b1fba20ce0138d423b4 (patch)
tree065226593a643ef7f8d911a46b7bd0720ac7d5b6 /t/perf/perf-lib.sh
parentb018c73526ca9d941c64d6a41d9c24968de38c2b (diff)
downloadgit-c74c72034f061d1d9d5b8b1fba20ce0138d423b4.zip
git-c74c72034f061d1d9d5b8b1fba20ce0138d423b4.tar.gz
git-c74c72034f061d1d9d5b8b1fba20ce0138d423b4.tar.bz2
test: replace shebangs with descriptions in shell libraries
A #! line in these files is misleading, since these scriptlets are meant to be sourced with '.' (using whatever shell sources them) instead of run directly using the interpreter named on the #! line. Removing the #! line shouldn't hurt syntax highlighting since these files have filenames ending with '.sh'. For documentation, add a brief description of how the files are meant to be used in place of the shebang line. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/perf/perf-lib.sh')
-rw-r--r--t/perf/perf-lib.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/perf/perf-lib.sh b/t/perf/perf-lib.sh
index f4eecaa..a8c9574 100644
--- a/t/perf/perf-lib.sh
+++ b/t/perf/perf-lib.sh
@@ -1,4 +1,6 @@
-#!/bin/sh
+# Performance testing framework. Each perf script starts much like
+# a normal test script, except it sources this library instead of
+# test-lib.sh. See t/perf/README for documentation.
#
# Copyright (c) 2011 Thomas Rast
#