diff options
author | Bryan Brattlof <hello@bryanbrattlof.com> | 2021-01-24 15:11:25 -0500 |
---|---|---|
committer | Bryan Brattlof <hello@bryanbrattlof.com> | 2021-04-07 18:59:28 -0400 |
commit | 71f7280aac159ba51f9af379227c1d9595cabf29 (patch) | |
tree | d37c9240caf1427331f1c3bd29c450d496ed4a5f | |
parent | effdc370566e7f9f0b09cbf28662054f6d42c074 (diff) | |
download | cgit-71f7280aac159ba51f9af379227c1d9595cabf29.tar.gz cgit-71f7280aac159ba51f9af379227c1d9595cabf29.tar.bz2 |
switch to using 'canon' as default branch
-rw-r--r-- | ui-repolist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-repolist.c b/ui-repolist.c index 529a203..689cab1 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 : "canon"); if (stat(path.buf, &s) == 0) { *mtime = s.st_mtime; r->mtime = *mtime; |