diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-01-20 16:24:20 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-01-20 16:24:20 -0500 |
commit | 7c4dddcbe90caeb0b69433ed273a898459d74f34 (patch) | |
tree | e3fe9286800da2644932c507db0b5680a6d8f4f3 /etc/phpshellsessions/cvssync | |
parent | 35a98a24f6328f7328d6a709986b1525e695c89a (diff) | |
download | pfsense-7c4dddcbe90caeb0b69433ed273a898459d74f34.zip pfsense-7c4dddcbe90caeb0b69433ed273a898459d74f34.tar.gz |
Use git fetch
Diffstat (limited to 'etc/phpshellsessions/cvssync')
-rw-r--r-- | etc/phpshellsessions/cvssync | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync index 30af6d6..0a713ff 100644 --- a/etc/phpshellsessions/cvssync +++ b/etc/phpshellsessions/cvssync @@ -98,7 +98,7 @@ 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 checkout -b $BRANCHTAG origin/$BRANCHTAG"); |