Manual Page Search Parameters

STAGIT-HOOK(5) File Formats Manual STAGIT-HOOK(5)

stagit-hookstagit-hook configuration file

The stagit-hook configuration file contains various options for stagit-hook(1). The options are listed below:

url
Set the base url for stagit(1). Defaults to "https://$(hostname)/projects/".
directory
Set the root for generated pages. Defaults to "/var/www/htdocs/$(hostname)/projects/".
directory
Set the repository directory for generating the index. Defaults to the home directory.
path
Specifies the file that repositories must contain to be indexed. Defaults to "refs".

/etc/stagit-hook
Contains configuration data for stagit-hook(1).

Here is an example /etc/stagit-hook:

baseurl https://example.com/git
basedir /var/www/htdocs/example.com/git
hasfile git-daemon-export-ok

stagit-hook(1)

Jacob R. Edwards <jacob@jacobedwards.org>

October 19, 2025 jacob