"git-show" is deprecated - don't use it.
authorKonstantin Dmitriev <ksee.zelgadis@gmail.com>
Sun, 19 Jul 2009 15:34:01 +0000 (22:34 +0700)
committerKonstantin Dmitriev <ksee.zelgadis@gmail.com>
Sun, 19 Jul 2009 15:34:01 +0000 (22:34 +0700)
synfig-core/trunk/build_tools/autorevision.sh
synfig-studio/trunk/build_tools/autorevision.sh

index e2d247f..f898b10 100644 (file)
@@ -24,7 +24,7 @@ get_git_id(){
                BRANCH=`echo $BRANCH | cut -d ' ' -f 1`
                BRANCH=${BRANCH#*/}
        fi
-       export REVISION=`git-show --pretty=format:%ci HEAD |  head -c 10`
+       export REVISION=`git show --pretty=format:%ci HEAD |  head -c 10`
        REVISION=${REVISION:0:4}${REVISION:5:2}${REVISION:8:2}
        export COMPARE="$1/.git/"
        # The extra * at the end is for Modified
index 27b2352..e6516b1 100644 (file)
@@ -24,7 +24,7 @@ get_git_id(){
                BRANCH=`echo $BRANCH | cut -d ' ' -f 1`
                BRANCH=${BRANCH#*/}
        fi
-       export REVISION=`git-show --pretty=format:%ci HEAD |  head -c 10`
+       export REVISION=`git show --pretty=format:%ci HEAD |  head -c 10`
        REVISION=${REVISION:0:4}${REVISION:5:2}${REVISION:8:2}
        export COMPARE="$1/.git/"
        # The extra * at the end is for Modified