summaryrefslogtreecommitdiff
path: root/t/t7500/add-whitespaced-content
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-05-13 11:03:08 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-05-13 11:03:08 -0700
commite4ae6efb78ca7d2ff16575f841b1781b96a7582c (patch)
tree13a3465c8d49a740846ac291d60486465d20a3a3 /t/t7500/add-whitespaced-content
parentMerge branch 'jc/t1506-shell-param-expansion-gotcha' (diff)
parentDo not strip empty lines / trailing spaces from a commit message template (diff)
downloadtgif-e4ae6efb78ca7d2ff16575f841b1781b96a7582c.tar.xz
Merge branch 'bf/commit-template-no-cleanup'
* bf/commit-template-no-cleanup: Do not strip empty lines / trailing spaces from a commit message template
Diffstat (limited to 't/t7500/add-whitespaced-content')
-rwxr-xr-xt/t7500/add-whitespaced-content8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t7500/add-whitespaced-content b/t/t7500/add-whitespaced-content
new file mode 100755
index 0000000000..ccf07c61a4
--- /dev/null
+++ b/t/t7500/add-whitespaced-content
@@ -0,0 +1,8 @@
+#!/bin/sh
+sed -e 's/|$//' >>"$1" <<\EOF
+
+ |
+commit message |
+
+EOF
+exit 0