diff options
| author | 2026-07-30 12:49:23 +0700 | |
|---|---|---|
| committer | 2026-07-31 11:38:28 +0700 | |
| commit | 306fafc1d1d19c51d7ac24479f49c76272934ce5 (patch) | |
| tree | e2ab62c141f406bf2c8d8c675b00b66a409f7c52 /shared.c | |
| parent | 1614f25c38d5dd1817cf7651b2fc5e07503fc454 (diff) | |
| download | cgitext-306fafc1d1d19c51d7ac24479f49c76272934ce5.tar.gz cgitext-306fafc1d1d19c51d7ac24479f49c76272934ce5.zip | |
licensing: add author preambles where changes were donev1.3.1+9
Add a copyright for changes done by me, also note in README the nature
of this repo
Diffstat (limited to 'shared.c')
| -rw-r--r-- | shared.c | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -1,6 +1,11 @@ /* shared.c: global vars + some callback functions * * Copyright (C) 2006-2014 cgit Development Team <cgit@lists.zx2c4.com> + * Copyright (C) 2026 Saya Andy <saya.andy@posteo.com> + * + * Modified 2026 by Saya Andy: + * Add cgit_have_repository() + * Add ci filter configuration * * Licensed under GNU General Public License v2 * (see COPYING for full license text) @@ -13,13 +18,6 @@ struct cgit_repolist cgit_repolist; struct cgit_context ctx; -/* Returns true when the git repository belonging to this request was opened - * successfully. Some requests print a page for a repository which could not - * be opened, e.g. because repo.path is wrong, and the object database and - * ref stores must not be touched in that case: they would abort with - * "reference backend is unknown" or dereference the not yet known hash - * algorithm. - */ int cgit_have_repository(void) { return startup_info->have_repository; |