From 75a4e09f1d241f7882a86d7f9c4aa1804a981209 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 28 Apr 2024 23:21:11 +0200 Subject: move overlays to root folder --- patches/cgit-pink.patch | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 patches/cgit-pink.patch (limited to 'patches/cgit-pink.patch') diff --git a/patches/cgit-pink.patch b/patches/cgit-pink.patch deleted file mode 100644 index 0e91525e..00000000 --- a/patches/cgit-pink.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/cgit.c b/cgit.c -index dd28a79..451f518 100644 ---- a/cgit.c -+++ b/cgit.c -@@ -489,7 +489,7 @@ static char *guess_defbranch(void) - - ref = resolve_ref_unsafe("HEAD", 0, &oid, NULL); - if (!ref || !skip_prefix(ref, "refs/heads/", &refname)) -- return "master"; -+ return "main"; - return xstrdup(refname); - } - -diff --git a/ui-repolist.c b/ui-repolist.c -index 97b11c5..cde9cd0 100644 ---- a/ui-repolist.c -+++ b/ui-repolist.c -@@ -53,7 +53,7 @@ static int get_repo_modtime(const struct cgit_repo *repo, time_t *mtime) - - strbuf_reset(&path); - strbuf_addf(&path, "%s/refs/heads/%s", repo->path, -- repo->defbranch ? repo->defbranch : "master"); -+ repo->defbranch ? repo->defbranch : "main"); - if (stat(path.buf, &s) == 0) { - *mtime = s.st_mtime; - r->mtime = *mtime; -- cgit 1.4.1