<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -32,7 +32,12 @@ get () {
 mkdir -p build-aux
 
 if test -z &quot;$REVISION&quot;; then
-    REVISION=`\`which svn\` info . 2&gt; /dev/null | awk &quot;/Revision:/{print \\$2}&quot;`
+    if test -d .git; then
+        REVISION=`git log | head -1 | awk '{print $2}' | cut -b 1-8`-git
+    else
+        # default to svn
+        REVISION=`\`which svn\` info . 2&gt; /dev/null | awk &quot;/Revision:/{print \\$2}&quot;`
+    fi
 fi
 if test -z &quot;`get LOCAL_VERSION_STAGE`&quot; -o -z &quot;$REVISION&quot;; then
     sed &quot;s/%release%//&quot; &lt; acinclude.m4.in &gt; acinclude.m4</diff>
      <filename>bootstrap</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>cd9cff3ac2a9cff4bbd7ad9b75ee8bba3fbe702e</id>
    </parent>
  </parents>
  <author>
    <name>jan</name>
    <email>jan@13f79535-47bb-0310-9956-ffa450edef68</email>
  </author>
  <url>http://github.com/halorgium/couchdb/commit/9961170b2099e0fb9a65f76e68d231704bf17bb5</url>
  <id>9961170b2099e0fb9a65f76e68d231704bf17bb5</id>
  <committed-date>2009-09-12T15:33:23-07:00</committed-date>
  <authored-date>2009-09-12T15:33:23-07:00</authored-date>
  <message>use first 8 bytes of the commit hash as the release info when building from git

git-svn-id: http://svn.apache.org/repos/asf/couchdb/trunk@814245 13f79535-47bb-0310-9956-ffa450edef68</message>
  <tree>328a675022814d7b9a4521145946c56be1f30ea9</tree>
  <committer>
    <name>jan</name>
    <email>jan@13f79535-47bb-0310-9956-ffa450edef68</email>
  </committer>
</commit>
