From caecaffe2c8203a050727cd143843fbfe41e5a5b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 7 Oct 2008 22:10:36 +0200 Subject: bin/pkg: vcs_upgrade/push: Explicitly name branch --- bin/pkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/pkg b/bin/pkg index 12e0bed..f432167 100755 --- a/bin/pkg +++ b/bin/pkg @@ -176,12 +176,12 @@ vcs_log () { vcs_upgrade () { [[ -d .hg ]] && {hg pull --update $PKG_ROOT/$PWD:t; return} - [[ -d .git ]] && {git pull $PKG_ROOT/$PWD:t ; return} + [[ -d .git ]] && {git pull $PKG_ROOT/$PWD:t master ; return} } vcs_push () { [[ -d .hg ]] && {hg push $PKG_ROOT/$PWD:t ; return} - [[ -d .git ]] && {git push $PKG_ROOT/$PWD:t; return} + [[ -d .git ]] && {git push $PKG_ROOT/$PWD:t master; return} } vcs_status () { -- cgit v1.2.3