From d907815c1287e74a55891b220adcfaef8d0ed03d Mon Sep 17 00:00:00 2001 From: Konstantin Dmitriev Date: Sun, 19 Jul 2009 22:34:01 +0700 Subject: [PATCH] "git-show" is deprecated - don't use it. --- synfig-core/trunk/build_tools/autorevision.sh | 2 +- synfig-studio/trunk/build_tools/autorevision.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/synfig-core/trunk/build_tools/autorevision.sh b/synfig-core/trunk/build_tools/autorevision.sh index e2d247f..f898b10 100644 --- a/synfig-core/trunk/build_tools/autorevision.sh +++ b/synfig-core/trunk/build_tools/autorevision.sh @@ -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 diff --git a/synfig-studio/trunk/build_tools/autorevision.sh b/synfig-studio/trunk/build_tools/autorevision.sh index 27b2352..e6516b1 100644 --- a/synfig-studio/trunk/build_tools/autorevision.sh +++ b/synfig-studio/trunk/build_tools/autorevision.sh @@ -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 -- 2.7.4