Skip to main content

MAX_VALUE_LEN

Constant MAX_VALUE_LEN 

Source
pub const MAX_VALUE_LEN: usize = 160;
Expand description

The longest a single free-text argv value is rendered before it is truncated with a …(<n> chars) marker. Normal argv (subcommands, flags, refs, paths, revsets) sits well under this, so it only ever clips genuinely large values — a PR/issue body, a long commit message — keeping the log both readable and free of bulk user text. The exact number is not load-bearing.