summaryrefslogtreecommitdiffstats
path: root/etc/phpshellsessions
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-01-20 16:25:06 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-01-20 16:25:06 -0500
commitbd0aa12c1f349b5094a26f762f229295726c4c0b (patch)
tree9a85b059af1f414f0d7d6347be9ce1e8f15b813c /etc/phpshellsessions
parent2d0bde4cbc2bc5934b2d7e53f08c94ec74a43f03 (diff)
downloadpfsense-bd0aa12c1f349b5094a26f762f229295726c4c0b.zip
pfsense-bd0aa12c1f349b5094a26f762f229295726c4c0b.tar.gz
use git fetch and merge
Diffstat (limited to 'etc/phpshellsessions')
-rw-r--r--etc/phpshellsessions/cvssync4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync
index ff1e6e2..0a012d8 100644
--- a/etc/phpshellsessions/cvssync
+++ b/etc/phpshellsessions/cvssync
@@ -98,10 +98,10 @@ exec("mkdir -p /root/pfsense/$branch");
// Git 'er done!
if(is_dir("$CODIR/master/mainline")) {
- exec("cd $CODIR/master/mainline && git pull");
+ exec("cd $CODIR/master/mainline && git fetch");
} else {
exec("cd $CODIR && git clone $GIT_REPO");
- exec("cd $CODIR/master/mainline && git pull && checkout -b $BRANCHTAG origin/$BRANCHTAG");
+ exec("cd $CODIR/master/mainline && git fetch && git merge && checkout -b $BRANCHTAG origin/$BRANCHTAG");
}
if($branch == "master")
OpenPOWER on IntegriCloud