mirror of https://git.zx2c4.com/cgit/
cgit.c: only print first line of repo.desc in print_repo()
Since repo.desc might have been populated by reading the 'description' file in GIT_DIR, it may contain newlines. And by printing the literal value, we may then generate an invalid cgitrc include-file. Signed-off-by: Lars Hjemli <hjemli@gmail.com>lh/pretty-blob-view
parent
b47b7bd1d0
commit
588fb8efc6
Loading…
Reference in New Issue