diff options
author | Teddy Wing | 2021-06-25 00:58:18 +0200 |
---|---|---|
committer | Teddy Wing | 2021-06-25 00:58:18 +0200 |
commit | bf189958d498255e486455e803d93b5e8de7539e (patch) | |
tree | c765dcee5de2818c27f7c1b8150dae56219dc4d5 /src/database.rs | |
parent | f3d2cee56389bb41fd539137358eb9dbc884c49f (diff) | |
download | reflectub-bf189958d498255e486455e803d93b5e8de7539e.tar.bz2 |
main: If the default branch is not "master", set cgitrc defbranch
In order for CGit to know that the repository uses a default branch that
isn't "master", we need to set the `defbranch` setting in 'cgitrc'.
The mtime is read from either the "master" ref or the ref specified with
`defbranch`:
https://git.zx2c4.com/cgit/tree/ui-repolist.c?id=5258c297ba6fb604ae1415fbc19a3fe42457e49e#n56
Diffstat (limited to 'src/database.rs')
0 files changed, 0 insertions, 0 deletions