From 8e89e38630ebb66d23995bee2e8c26b3dd838fff Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Mon, 17 Dec 2012 17:27:13 +0100 Subject: [Net:Q] Get_Branches --- net:foret/Environment.zsh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'net:foret') diff --git a/net:foret/Environment.zsh b/net:foret/Environment.zsh index 809afbb..17b5c34 100644 --- a/net:foret/Environment.zsh +++ b/net:foret/Environment.zsh @@ -8,3 +8,13 @@ export CCACHE_DIR=/work/$USER/.ccache export http_proxy="http://proxy.foret:3128" export ftp_proxy=$http_proxy export no_proxy="127.0.0.1,10.,.foret,.qosmos.com" + + +export GET_IXM_BRANCHES="if [ \\\"\$(dirname %p/%f)\\\" == \\\".\\\" ] ; then + git clone work:%r -b %b \$( basename %p/%f ) ; + else + mkdir -p \$(dirname %p/%f) ; cd \$(dirname %p/%f ) ; + git module add \$( basename %p/%f ) work:%r %b ; + cd - ; + fi" + -- cgit v1.2.3