Revision aa89be9d
Added by Scott Ullrich over 16 years ago
etc/phpshellsessions/cvssync | ||
---|---|---|
103 | 103 |
exec("cd $CODIR && git clone $GIT_REPO"); |
104 | 104 |
|
105 | 105 |
if($branch == "master") |
106 |
exec("cd $CODIR/master/mainline && git checkout master"); |
|
106 |
exec("cd $CODIR/master/mainline && git pull && git checkout master");
|
|
107 | 107 |
else |
108 |
exec("cd $CODIR/master/mainline && git checkout -b $BRANCHTAG origin/$BRANCHTAG"); |
|
108 |
exec("cd $CODIR/master/mainline && git pull && checkout -b $BRANCHTAG origin/$BRANCHTAG");
|
|
109 | 109 |
|
110 | 110 |
exec("mkdir -p /tmp/lighttpd/cache/compress/"); |
111 | 111 |
|
Also available in: Unified diff
Pull GIT repo