From 032269d32f78ee9ec21817de9a3646cd29d9d2bc Mon Sep 17 00:00:00 2001 From: pabs Date: Sun, 24 Feb 2008 05:38:10 +0000 Subject: [PATCH] Fix the fix for uncommitted local git-svn changes. git-svn-id: http://svn.voria.com/code@1810 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/build_tools/autorevision.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/synfig-studio/trunk/build_tools/autorevision.sh b/synfig-studio/trunk/build_tools/autorevision.sh index 0402507..6464d73 100644 --- a/synfig-studio/trunk/build_tools/autorevision.sh +++ b/synfig-studio/trunk/build_tools/autorevision.sh @@ -21,9 +21,7 @@ get_git_svn_id(){ # The extra M at the end is for Modified export REVISION=`cd "$1"; git svn find-rev \`git rev-list --max-count=1 --grep='git-svn-id: ' HEAD\``M else - if ! git diff --quiet HEAD ; then - export REVISION="$REVISION"M - fi + export REVISION="$REVISION"`cd "$1"; git diff --quiet HEAD || echo M` fi } -- 2.7.4