aboutsummaryrefslogtreecommitdiffhomepage
path: root/hash.sh
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-12-20 17:16:19 +0100
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-12-20 17:16:19 +0100
commit14cf5ea1473411c436728b5464043336322a767b (patch)
treeb11079bfade2944bb8eca1437853af417352f3ae /hash.sh
parent17aeebf82b466f3190adf4fe07a82ea684b48b39 (diff)
test git-archive variable substitution
Diffstat (limited to 'hash.sh')
-rw-r--r--hash.sh3
1 files changed, 3 insertions, 0 deletions
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