Permalink
Browse files

test git-archive variable substitution

  • Loading branch information...
1 parent 17aeebf commit 14cf5ea1473411c436728b5464043336322a767b @Dieterbe Dieterbe committed Dec 20, 2009
Showing with 4 additions and 0 deletions.
  1. +1 −0 .gitattributes
  2. +3 −0 hash.sh
View
@@ -1 +1,2 @@
examples/data/uzbl/forms/bbs.archlinux.org whitespace=-trailing-space
+hash.sh export-subst
View
@@ -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>

0 comments on commit 14cf5ea

Please sign in to comment.