summaryrefslogtreecommitdiffstats
path: root/t/chainlint/for-loop-abbreviated.expect
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--t/chainlint/for-loop-abbreviated.expect5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/chainlint/for-loop-abbreviated.expect b/t/chainlint/for-loop-abbreviated.expect
new file mode 100644
index 0000000..a21007a
--- /dev/null
+++ b/t/chainlint/for-loop-abbreviated.expect
@@ -0,0 +1,5 @@
+for it
+do
+ path=$(expr "$it" : ( [^:]*) ) &&
+ git update-index --add "$path" || exit
+done