From b28dab49bd8df92aecf3eb458a94f8e8989b18e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 4 Jul 2011 09:37:20 +0200 Subject: git-synk: add arguments --- git-synk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/git-synk b/git-synk index e17b076..2a522c8 100755 --- a/git-synk +++ b/git-synk @@ -1,7 +1,10 @@ #! /bin/sh +if [ $# -gt 0 ]; then GIT_REMOTE=$1; shift; fi +if [ $# -gt 0 ]; then GIT_BRANCH=$1; shift; fi + GIT_BASE=${GIT_BASE:-$HOME/usr/git} -GIT_REMOTE=${GIT_REMOTE:-asynk} +GIT_REMOTE=${GIT_REMOTE:-origin} GIT_BRANCH=${GIT_BRANCH:-master} RESET="\033[0m" -- cgit v1.1-2-g2b99