summary refs log tree commit diff stats
path: root/ganarchy.py
diff options
context:
space:
mode:
Diffstat (limited to 'ganarchy.py')
-rwxr-xr-xganarchy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ganarchy.py b/ganarchy.py
index a9c3486..0737aa6 100755
--- a/ganarchy.py
+++ b/ganarchy.py
@@ -167,7 +167,7 @@ def remove(url):
 def cron_target():
     """Runs ganarchy as a cron target"""
     def handle_target(url, project_commit):
-        branchname = hashlib.sha256(url.encode("utf-8")).hexdigest()
+        branchname = "gan" + hashlib.sha256(url.encode("utf-8")).hexdigest()
         try:
             pre_hash = subprocess.check_output(["git", "-C", cache_home, "show", branchname, "-s", "--format=%H", "--"], stderr=subprocess.DEVNULL).decode("utf-8").strip()
         except subprocess.CalledProcessError: