From 3a519eb47e7c726c65a93ee9e3d7d07a09befd2a Mon Sep 17 00:00:00 2001 From: sigoure Date: Thu, 27 Sep 2007 09:13:42 +0000 Subject: [PATCH] svn_commit [Git mode]: Properly detect empty commits. --- svn-wrapper.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/svn-wrapper.sh b/svn-wrapper.sh index b8b53bc..a20a645 100755 --- a/svn-wrapper.sh +++ b/svn-wrapper.sh @@ -961,9 +961,9 @@ If this is a real git repository, do this: s/^D......\(.*\)$/ * \1: Remove./; t d '` - if [ x"$change_log_files" = x ]; then - yesno 'Nothing to commit, continue anyway?' || return 1 - fi + fi + if [ x"$change_log_files" = x ]; then + yesno 'Nothing to commit, continue anyway?' || return 1 fi change_log_files=`echo "$change_log_files" | sort -u` -- 2.11.4.GIT