aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.gitattributes1
-rw-r--r--hash.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 7799c58..9c6b849 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,2 @@
examples/data/uzbl/forms/bbs.archlinux.org whitespace=-trailing-space
+hash.sh export-subst
diff --git a/hash.sh b/hash.sh
new file mode 100644
index 0000000..e936313
--- /dev/null
+++ b/hash.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+# script to determine git hash of current source tree
+FROM_ARCHIVE=$Format:%H$ # set when running git --archive <hash/tag> \ No newline at end of file