From: Konstantin Dmitriev Date: Sun, 19 Jul 2009 15:34:01 +0000 (+0700) Subject: "git-show" is deprecated - don't use it. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d907815c1287e74a55891b220adcfaef8d0ed03d;p=synfig.git "git-show" is deprecated - don't use it. --- 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