summaryrefslogtreecommitdiff
path: root/t/t4018/bash-bashism-style-function
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-11-02 21:17:46 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-11-02 21:17:46 (GMT)
commit292e53fa9d2cf6d0b6d6adbbdc6dfc665bd4babe (patch)
treec6cf86a42e4386b3c37bd23903c672669e8e8bdf /t/t4018/bash-bashism-style-function
parent305fcf42b4dde316ba0b2e6433c1e5a1d6ef864f (diff)
parent2ff6c34612057baccbd841524106c5a05f6be6d6 (diff)
downloadgit-292e53fa9d2cf6d0b6d6adbbdc6dfc665bd4babe.zip
git-292e53fa9d2cf6d0b6d6adbbdc6dfc665bd4babe.tar.gz
git-292e53fa9d2cf6d0b6d6adbbdc6dfc665bd4babe.tar.bz2
Merge branch 've/userdiff-bash'
The userdiff pattern learned to identify the function definition in POSIX shells and bash. * ve/userdiff-bash: userdiff: support Bash
Diffstat (limited to 't/t4018/bash-bashism-style-function')
-rw-r--r--t/t4018/bash-bashism-style-function4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t4018/bash-bashism-style-function b/t/t4018/bash-bashism-style-function
new file mode 100644
index 0000000..f1de4fa
--- /dev/null
+++ b/t/t4018/bash-bashism-style-function
@@ -0,0 +1,4 @@
+function RIGHT {
+ :
+ echo 'ChangeMe'
+}