Repository: incubator-ignite
Updated Branches:
  refs/heads/gg-9869 a38c7ddc1 -> dbc73a102


# gg-9869: fix function


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/dbc73a10
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/dbc73a10
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/dbc73a10

Branch: refs/heads/gg-9869
Commit: dbc73a10200abfa37549ab617992d629e998b28d
Parents: a38c7dd
Author: Artem Shutak <[email protected]>
Authored: Thu Mar 5 20:43:43 2015 +0300
Committer: Artem Shutak <[email protected]>
Committed: Thu Mar 5 20:43:43 2015 +0300

----------------------------------------------------------------------
 scripts/git-patch-functions.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/dbc73a10/scripts/git-patch-functions.sh
----------------------------------------------------------------------
diff --git a/scripts/git-patch-functions.sh b/scripts/git-patch-functions.sh
index 115fd4c..ab9bec3 100644
--- a/scripts/git-patch-functions.sh
+++ b/scripts/git-patch-functions.sh
@@ -120,12 +120,12 @@ currentAndDefaultBranchesShouldBeEqual () {
 
     cd ${GIT_HOME}
 
-    IGNITE_CURRENT_BRANCH=$( determineCurrentBranch ${IGNITE_HOME} )
+    CURRENT_BRANCH=$( determineCurrentBranch ${GIT_HOME} )
     
-    if [ "$IGNITE_CURRENT_BRANCH" != "$DEFAULT_BRANCH" ]
+    if [ "$CURRENT_BRANCH" != "$DEFAULT_BRANCH" ]
     then 
         echo $0", ERROR:"
-        echo "You are not on a expected branch. Your current branch is 
$IGNITE_CURRENT_BRANCH, should be $DEFAULT_BRANCH."
+        echo "You are not on an expected branch. Your current branch at 
$GIT_HOME is $CURRENT_BRANCH, should be $DEFAULT_BRANCH."
         
         exit 1
     fi

Reply via email to