ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [5/5] incubator-ignite git commit: # gg-9869: echo patch created dir
Date Thu, 05 Mar 2015 11:35:07 GMT
# gg-9869: echo patch created dir


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

Branch: refs/heads/gg-9869
Commit: adedd6ac1d93311a088f980d60df1d9dc7423d6e
Parents: f8220c6
Author: Artem Shutak <ashutak@gridgain.com>
Authored: Thu Mar 5 14:35:00 2015 +0300
Committer: Artem Shutak <ashutak@gridgain.com>
Committed: Thu Mar 5 14:35:00 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/adedd6ac/scripts/git-patch-functions.sh
----------------------------------------------------------------------
diff --git a/scripts/git-patch-functions.sh b/scripts/git-patch-functions.sh
index 539d42f..8f24363 100644
--- a/scripts/git-patch-functions.sh
+++ b/scripts/git-patch-functions.sh
@@ -39,11 +39,16 @@ formatPatch () {
 #    git merge --squash ${PATCHED_BRANCH}
 #    git commit -a -m "# PATCHED_BRANCH"
 
-    git format-patch ${DEFAULT_BRANCH}  --stdout > ${PATCHES_HOME}'/'${DEFAULT_BRANCH}_${PATCHED_BRANCH}${PATCH_SUFFIX}
+    PATCH_FILE=${PATCHES_HOME}'/'${DEFAULT_BRANCH}_${PATCHED_BRANCH}${PATCH_SUFFIX}
+
+    git format-patch ${DEFAULT_BRANCH}  --stdout > ${PATCH_FILE}
 
     git checkout ${PATCHED_BRANCH}
     
     git branch -D tmppatch # Delete tmp branch.
+    
+    echo 
+    echo "Patch created: ${PATCH_FILE}"
 }
 
 updateBranches () {


Mime
View raw message