chiark / gitweb /
revid - use "git foo" not "git-foo"
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 18 Mar 2012 11:43:36 +0000 (11:43 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 18 Mar 2012 11:43:36 +0000 (11:43 +0000)
.git-revid

index 9017e04..88783e8 100755 (executable)
@@ -4,11 +4,11 @@ set -o pipefail
 
 kind="$1"
 
-desc=`git-describe --always HEAD`
-log=`git-log -1 --pretty='format:%h' HEAD`
+desc=`git describe --always HEAD`
+log=`git log -1 --pretty='format:%h' HEAD`
 date=`date --iso-8601=minutes`
 set +e
-git-diff --quiet HEAD
+git diff --quiet HEAD
 diffrc=$?
 set -e
 case $diffrc in