From 14cf5ea1473411c436728b5464043336322a767b Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sun, 20 Dec 2009 17:16:19 +0100 Subject: test git-archive variable substitution --- .gitattributes | 1 + hash.sh | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 hash.sh 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 \ No newline at end of file -- cgit v1.2.3