]> git.wh0rd.org - fontconfig.git/commitdiff
Call git tools using "git cmd" instead of "git-cmd" syntax
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 12 Mar 2009 17:48:07 +0000 (13:48 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 12 Mar 2009 17:48:54 +0000 (13:48 -0400)
Recent git doesn't install the git-* commands in path.

Makefile.am
new-version.sh

index ec7a5d9a7aae43f59ebf9a05d37b81988a90a4d6..46dbb414cd44a873ebb5d78a37de8b50ec0a8692 100644 (file)
@@ -69,7 +69,7 @@ EXTRA_DIST += ChangeLog
 
 ChangeLog:
        if test -d "$(srcdir)/.git"; then \
-         (GIT_DIR=$(top_srcdir)/.git ./missing --run git-log --stat) | fmt --split-only > $@.tmp \
+         (GIT_DIR=$(top_srcdir)/.git ./missing --run git log --stat) | fmt --split-only > $@.tmp \
          && mv -f $@.tmp $@ \
          || ($(RM) $@.tmp; \
              echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
index c771aeb09705d475fcb56cce49468917df5fcf34..55e688684ac97072a0f035acc43093bb289f3a9f 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-if git-status -a > /dev/null; then
+if git status -a > /dev/null; then
        echo 'Uncommited changes in repository' 1>&2
        exit 1
 fi
@@ -92,7 +92,7 @@ if [ $version != $last ]; then
        
        echo $version_note
        echo
-       git-log --pretty=short $last.. | git-shortlog | cat
+       git log --pretty=short $last.. | git shortlog | cat
        
        #
        # previous changelogs
@@ -104,15 +104,15 @@ if [ $version != $last ]; then
        mv README.tmp README
 fi
 
-$test git-commit -m"Bump version to $version" \
+$test git commit -m"Bump version to $version" \
        configure.in \
        fontconfig/fontconfig.h \
        README
 
 # tag the tree
-$test git-tag -u 096c4dd3 -m "Version $version" $version
+$test git tag -u 096c4dd3 -m "Version $version" $version
 
 # Make distributed change log
 
-git-log --stat $last.. > ChangeLog-$version
+git log --stat $last.. > ChangeLog-$version