| Age | Commit message (Collapse) | Author | Lines |
|
Git's build swaps in an fopen that refuses a directory, but only where
it defines FREAD_READS_DIRECTORIES, and not every system's build does.
There a directory opened, and only a failed read(2) reported it. POSIX
leaves that failure to the system, and one that read the raw entries
would have parsed them as settings.
|
|
atoi reads "yes" or "true" as 0, so repo.hide=yes, or cgit.hide true
in a scanned repository's git config, silently did nothing. The values
keep that meaning, since honouring them now would hide repositories on
upgrade, but each one is logged with its file and line.
|
|
A missing or unreadable cgitrc left only "No repositories found" and an
empty log, the commonest first mistake with no trace of its cause. A
scanned repository's own cgitrc stays quiet, since most have none.
|
|
|
|
skip_line stopped at a NUL as well as at a newline, so the rest of the
comment after one was read as a setting.
|
|
|
|
|
|
|