<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,5 @@
 build
+build/revision
 *.xcodeproj/*.pbxuser
 *.xcodeproj/*.perspectivev3
 *.xcodeproj/*.mode1v3</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -6,6 +6,20 @@
 	objectVersion = 45;
 	objects = {
 
+/* Begin PBXAggregateTarget section */
+		F56439F70F792B2100A579C2 /* Generate PList Prefix */ = {
+			isa = PBXAggregateTarget;
+			buildConfigurationList = F56439FD0F792B3600A579C2 /* Build configuration list for PBXAggregateTarget &quot;Generate PList Prefix&quot; */;
+			buildPhases = (
+				F56439F60F792B2100A579C2 /* ShellScript */,
+			);
+			dependencies = (
+			);
+			name = &quot;Generate PList Prefix&quot;;
+			productName = &quot;Generate PList Prefix&quot;;
+		};
+/* End PBXAggregateTarget section */
+
 /* Begin PBXBuildFile section */
 		056438B70ED0C40B00985397 /* DetailViewTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = 056438B60ED0C40B00985397 /* DetailViewTemplate.png */; };
 		3BC07F4C0ED5A5C5009A7768 /* HistoryViewTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = 3BC07F4A0ED5A5C5009A7768 /* HistoryViewTemplate.png */; };
@@ -113,6 +127,13 @@
 			remoteGlobalIDString = 913D5E480E55644600CECEA2;
 			remoteInfo = &quot;cli tool&quot;;
 		};
+		F5643A010F792B4900A579C2 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = F56439F70F792B2100A579C2;
+			remoteInfo = &quot;Generate PList Prefix&quot;;
+		};
 /* End PBXContainerItemProxy section */
 
 /* Begin PBXCopyFilesBuildPhase section */
@@ -614,7 +635,7 @@
 			isa = PBXNativeTarget;
 			buildConfigurationList = 26FC0A840875C7B200E6366F /* Build configuration list for PBXNativeTarget &quot;GitX&quot; */;
 			buildPhases = (
-				F5792DFB0EDB570C001B0C31 /* Compilie libgit2 */,
+				F5792DFB0EDB570C001B0C31 /* Compile libgit2 */,
 				8D1107290486CEB800E47090 /* Resources */,
 				8D11072C0486CEB800E47090 /* Sources */,
 				8D11072E0486CEB800E47090 /* Frameworks */,
@@ -625,6 +646,7 @@
 			);
 			dependencies = (
 				913D5E5A0E5564F400CECEA2 /* PBXTargetDependency */,
+				F5643A020F792B4900A579C2 /* PBXTargetDependency */,
 			);
 			name = GitX;
 			productInstallPath = &quot;$(HOME)/Applications&quot;;
@@ -680,6 +702,7 @@
 				8D1107260486CEB800E47090 /* GitX */,
 				913D5E480E55644600CECEA2 /* cli tool */,
 				F5886A0F0ED5D33D0066E74C /* SpeedTest */,
+				F56439F70F792B2100A579C2 /* Generate PList Prefix */,
 			);
 		};
 /* End PBXProject section */
@@ -723,19 +746,32 @@
 /* End PBXResourcesBuildPhase section */
 
 /* Begin PBXShellScriptBuildPhase section */
-		F5792DFB0EDB570C001B0C31 /* Compilie libgit2 */ = {
+		F56439F60F792B2100A579C2 /* ShellScript */ = {
 			isa = PBXShellScriptBuildPhase;
 			buildActionMask = 2147483647;
 			files = (
 			);
 			inputPaths = (
 			);
-			name = &quot;Compilie libgit2&quot;;
 			outputPaths = (
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 			shellPath = /bin/sh;
-			shellScript = &quot;git submodule init\ngit submodule update\ncd libgit2\nrm -f libgit2.a\nmake CFLAGS=\&quot;-arch i386 -arch ppc\&quot;\nranlib libgit2.a&quot;;
+			shellScript = &quot;export PATH=$PATH:$HOME/bin:$HOME/local/bin:/sw/bin:/opt/local/bin:`$TARGET_BUILD_DIR/gitx --git-path`\n(echo -n \&quot;#define BUILD_NUMBER \&quot;; git describe) &gt; build/revision\ntouch Info.plist&quot;;
+		};
+		F5792DFB0EDB570C001B0C31 /* Compile libgit2 */ = {
+			isa = PBXShellScriptBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			inputPaths = (
+			);
+			name = &quot;Compile libgit2&quot;;
+			outputPaths = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+			shellPath = /bin/sh;
+			shellScript = &quot;export PATH=$PATH:$HOME/bin:$HOME/local/bin:/sw/bin:/opt/local/bin:`$TARGET_BUILD_DIR/gitx --git-path`\ngit submodule init\ngit submodule update\ncd libgit2\nrm -f libgit2.a\nmake CFLAGS=\&quot;-arch i386 -arch ppc\&quot;\nranlib libgit2.a&quot;;
 		};
 		F5CF04A20EAE696C00D75C81 /* Copy HTML files */ = {
 			isa = PBXShellScriptBuildPhase;
@@ -850,6 +886,11 @@
 			target = 913D5E480E55644600CECEA2 /* cli tool */;
 			targetProxy = 913D5E590E5564F400CECEA2 /* PBXContainerItemProxy */;
 		};
+		F5643A020F792B4900A579C2 /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			target = F56439F70F792B2100A579C2 /* Generate PList Prefix */;
+			targetProxy = F5643A010F792B4900A579C2 /* PBXContainerItemProxy */;
+		};
 /* End PBXTargetDependency section */
 
 /* Begin PBXVariantGroup section */
@@ -905,6 +946,9 @@
 				GCC_PREFIX_HEADER = GitX_Prefix.pch;
 				HEADER_SEARCH_PATHS = libgit2/src;
 				INFOPLIST_FILE = Info.plist;
+				INFOPLIST_OTHER_PREPROCESSOR_FLAGS = &quot;-traditional&quot;;
+				INFOPLIST_PREFIX_HEADER = build/revision;
+				INFOPLIST_PREPROCESS = YES;
 				INSTALL_PATH = &quot;$(HOME)/Applications&quot;;
 				LIBRARY_SEARCH_PATHS = libgit2;
 				PRODUCT_NAME = GitX;
@@ -927,6 +971,9 @@
 				GCC_PREFIX_HEADER = GitX_Prefix.pch;
 				HEADER_SEARCH_PATHS = libgit2/src;
 				INFOPLIST_FILE = Info.plist;
+				INFOPLIST_OTHER_PREPROCESSOR_FLAGS = &quot;-traditional&quot;;
+				INFOPLIST_PREFIX_HEADER = build/revision;
+				INFOPLIST_PREPROCESS = YES;
 				INSTALL_PATH = &quot;$(HOME)/Applications&quot;;
 				LIBRARY_SEARCH_PATHS = libgit2;
 				PRODUCT_NAME = GitX;
@@ -1007,6 +1054,27 @@
 			};
 			name = Release;
 		};
+		F56439F80F792B2100A579C2 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				COPY_PHASE_STRIP = NO;
+				GCC_DYNAMIC_NO_PIC = NO;
+				GCC_OPTIMIZATION_LEVEL = 0;
+				PRODUCT_NAME = &quot;Generate PList Prefix&quot;;
+			};
+			name = Debug;
+		};
+		F56439F90F792B2100A579C2 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				COPY_PHASE_STRIP = YES;
+				DEBUG_INFORMATION_FORMAT = &quot;dwarf-with-dsym&quot;;
+				GCC_ENABLE_FIX_AND_CONTINUE = NO;
+				PRODUCT_NAME = &quot;Generate PList Prefix&quot;;
+				ZERO_LINK = NO;
+			};
+			name = Release;
+		};
 		F5886A130ED5D33E0066E74C /* Debug */ = {
 			isa = XCBuildConfiguration;
 			buildSettings = {
@@ -1092,6 +1160,15 @@
 			defaultConfigurationIsVisible = 0;
 			defaultConfigurationName = Release;
 		};
+		F56439FD0F792B3600A579C2 /* Build configuration list for PBXAggregateTarget &quot;Generate PList Prefix&quot; */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				F56439F80F792B2100A579C2 /* Debug */,
+				F56439F90F792B2100A579C2 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
 		F5886A150ED5D33E0066E74C /* Build configuration list for PBXNativeTarget &quot;SpeedTest&quot; */ = {
 			isa = XCConfigurationList;
 			buildConfigurations = (</diff>
      <filename>GitX.xcodeproj/project.pbxproj</filename>
    </modified>
    <modified>
      <diff>@@ -49,7 +49,7 @@
 	&lt;key&gt;CFBundleSignature&lt;/key&gt;
 	&lt;string&gt;????&lt;/string&gt;
 	&lt;key&gt;CFBundleVersion&lt;/key&gt;
-	&lt;string&gt;0.6.1&lt;/string&gt;
+	&lt;string&gt;BUILD_NUMBER&lt;/string&gt;
 	&lt;key&gt;CFBundleShortVersionString&lt;/key&gt;
 	&lt;string&gt;0.6.1&lt;/string&gt;
 	&lt;key&gt;NSMainNibFile&lt;/key&gt;</diff>
      <filename>Info.plist</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>af40162a833df3bd4e562bbc39ab6e058cd1dea1</id>
    </parent>
  </parents>
  <author>
    <name>Pieter de Bie</name>
    <email>frimmirf+gitx@gmail.com</email>
  </author>
  <url>http://github.com/pieter/gitx/commit/f3c131ecdef4cf2be61eb3d0ff40cd47cac14b90</url>
  <id>f3c131ecdef4cf2be61eb3d0ff40cd47cac14b90</id>
  <committed-date>2009-03-24T08:00:38-07:00</committed-date>
  <authored-date>2009-03-24T07:57:06-07:00</authored-date>
  <message>Display revision in the About Dialog

We do this by preprocessing the Info.plist file
and adding a prefix header with the current revision
#define'd. This seems to be the most reliable way,
unfortunately</message>
  <tree>b04bd72aafc5849324decff950c316babae13ced</tree>
  <committer>
    <name>Pieter de Bie</name>
    <email>frimmirf+gitx@gmail.com</email>
  </committer>
</commit>
