summaryrefslogtreecommitdiffstats
path: root/abs/extra/usbmuxd/usbmuxd-describe.patch
blob: 302323571d222652252452a3e6f3396ec6f2ce75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- usbmuxd-1.0.7/Modules/describe.sh.orig	2012-04-07 22:37:03.218203610 +0000
+++ usbmuxd-1.0.7/Modules/describe.sh	2012-04-07 22:37:22.979010437 +0000
@@ -1,17 +1,8 @@
 #!/bin/bash
 
-# Check for git and a git repo.
-if head=`git rev-parse --verify HEAD 2>/dev/null`; then
-	/bin/echo -n `git describe`
-
-	# Are there uncommitted changes?
-	git update-index --refresh --unmerged > /dev/null
-	git diff-index --quiet HEAD || /bin/echo -n -dirty
-else
 # Check for version tag
 	if [ -e version.tag ]; then
 		/bin/echo -n `cat version.tag`
 	fi
-fi
 
 echo