X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Flei-config.pod;h=663404fe65f9d06f6e832e9a4cdf2cac89de25af;hb=0ae89efce11e1e3b10a067c61c5b4cde30fa2b3b;hp=a64045efc0a68e4e8948ce403630bbec92b13e24;hpb=0b15dfc58ceaecdcb1c9285c3ad55813006c8338;p=public-inbox.git diff --git a/Documentation/lei-config.pod b/Documentation/lei-config.pod index a64045ef..663404fe 100644 --- a/Documentation/lei-config.pod +++ b/Documentation/lei-config.pod @@ -8,10 +8,95 @@ lei config [OPTIONS] =head1 DESCRIPTION -Call git-config(1) with C<$XDG_CONFIG_HOME/lei/config> as the +Call L with C<$XDG_CONFIG_HOME/lei/config> as the configuration file. All C are passed through, but those that override the configuration file are not permitted. +All C and C options may be specified per-host or +(if using git 2.26+) with wildcards: + + [imap "imap://*.onion"] + proxy = socks5h://127.0.0.1:9050 + + [nntp "nntp://example.com"] + proxy = socks5h://127.0.0.1:1080 + +=head2 VARIABLES + +=over 8 + +=item external.* + +Managed by L and L + +=item imap.proxy + +=item nntp.proxy + +The C proxy address. Older versions of SOCKS may +be supported if there is user demand. + +=item imap.starttls + +=item nntp.starttls + +Enable or disable STARTTLS on non-imaps:// and non-nntps:// +hosts. By default, STARTTLS is enabled if available unless +connecting to a Tor .onion or localhost. + +=item imap.compress + +=item nntp.compress + +Enable protocol-level compression. This may be incompatible +or broken with some servers. + +Note: L compression support is pending: +L + +=item imap.debug + +=item nntp.debug + +Enable debugging output of underlying IMAP and NNTP libraries, +currently L and L, respectively. +If using L or L point to a SOCKS proxy, +debugging output for L will be enabled, as +well. + +Disabling L may be required for readability. + +=item imap.timeout + +=item nntp.timeout + +The read timeout for responses. + +Default: 600 seconds (IMAP); 120 seconds (NNTP) + +=item imap.fetchBatchSize + +Number of full messages to fetch at once. Larger values reduce +network round trips at the cost of higher memory use, especially +when retrieving large messages. + +Small responses for IMAP flags are fetched at 10000 times this value. + +Default: 1 + +=item color.SLOT + +C, C, C, C color slots +are supported for the C<-f text> and C<-f reply> output formats +of L and L. + +Any per-project .git/config, and global ~/.gitconfig files +will also be parsed for diff coloring. git diff color slots +(C) supported are C, C, C, +C, C, and C. + +=back + =head1 CONTACT Feedback welcome via plain-text mail to L