diff options
author | Simone Rota <sip@crux.nu> | 2006-10-21 22:58:59 +0200 |
---|---|---|
committer | Simone Rota <sip@crux.nu> | 2006-10-21 22:58:59 +0200 |
commit | 66a9328c0626556937bca5f96b6e0fb832bf3c2f (patch) | |
tree | 3fe1e7c1edfff53fd5fdbd3813ad7e5e68edffb6 | |
parent | 8894ee30293e5e2f450292c08a4c5077402b4c58 (diff) | |
download | webtools-66a9328c0626556937bca5f96b6e0fb832bf3c2f.tar.gz webtools-66a9328c0626556937bca5f96b6e0fb832bf3c2f.tar.xz |
tlcacher: fixed branch selection for git caching
-rwxr-xr-x | timeline/tlcacher.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/timeline/tlcacher.php b/timeline/tlcacher.php index a71fd75..277eb7c 100755 --- a/timeline/tlcacher.php +++ b/timeline/tlcacher.php @@ -188,6 +188,7 @@ if ($chline != "") { /******************* Git events ***********************/ foreach ($git_repos as $repo) { + $branch = ""; if (strpos($repo, ":") !== FALSE) { $tmp = explode(':', $repo); $repo = $tmp[0]; @@ -195,7 +196,6 @@ foreach ($git_repos as $repo) { } $pos = strpos($repo, "/"); $reponame = substr($repo, $pos+1); - $branch = ""; $last_git = last_cached_git($reponame); $out = array(); $res = 0; |