From e3089bf0d8535eff413ff349074f61b7e6eb78d6 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 20 Jan 2009 20:59:48 -0500 Subject: [PATCH] Use fetch and merge on subsequent checkouts --- etc/phpshellsessions/cvssync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync index e56d8fbd81..8f36a452fe 100644 --- a/etc/phpshellsessions/cvssync +++ b/etc/phpshellsessions/cvssync @@ -102,7 +102,7 @@ exec("mkdir -p /root/pfsense/$branch"); // Git 'er done! if(is_dir("$CODIR/pfSenseGITREPO")) { exec("cd $CODIR/pfSenseGITREPO && git fetch"); - exec("cd $CODIR/pfSenseGITREPO && git merge $BRANCHTAG"); + exec("cd $CODIR/pfSenseGITREPO && git merge $branch"); } else { exec("cd $CODIR && git clone $GIT_REPO pfSenseGITREPO"); }