summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1-RevB_FreedomStudio/freedom-metal/install-git-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1-RevB_FreedomStudio/freedom-metal/install-git-hooks')
-rwxr-xr-xFreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1-RevB_FreedomStudio/freedom-metal/install-git-hooks9
1 files changed, 9 insertions, 0 deletions
diff --git a/FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1-RevB_FreedomStudio/freedom-metal/install-git-hooks b/FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1-RevB_FreedomStudio/freedom-metal/install-git-hooks
new file mode 100755
index 000000000..bc6df8702
--- /dev/null
+++ b/FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1-RevB_FreedomStudio/freedom-metal/install-git-hooks
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+mkdir -p .git/hooks
+cat >.git/hooks/post-commit <<EOF
+#!/bin/bash
+# Generated by $0
+touch -c configure.ac
+EOF
+chmod +x .git/hooks/post-commit