projects
/
gwvp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
removed the permissions bit on the repo creation - will happen later,
[gwvp.git]
/
gwvplib
/
gwvpgitcontrol.php
diff --git
a/gwvplib/gwvpgitcontrol.php
b/gwvplib/gwvpgitcontrol.php
index
55f9bd5
..
d78fcde
100644
(file)
--- a/
gwvplib/gwvpgitcontrol.php
+++ b/
gwvplib/gwvpgitcontrol.php
@@
-1,5
+1,13
@@
<?php
+function gwvp_repoExists($name)
+{
+ global $repo_base;
+
+ if(file_exists("$repo_base/$name.git")) return true;
+ else return false;
+}
+
function gwvp_createGitRepo($name)
{
global $repo_base;