summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-10-07 22:10:36 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-10-07 22:10:36 +0200
commitcaecaffe2c8203a050727cd143843fbfe41e5a5b (patch)
treed4289a2e2f408099a0370f796b5acd1fa57ad42c
parent9b38a917489e742885a8f0489f5e287b5b93e83f (diff)
bin/pkg: vcs_upgrade/push: Explicitly name branch
-rwxr-xr-xbin/pkg4
1 files 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 () {