Skip to main content

COMMON_FILES

Constant COMMON_FILES 

Source
pub const COMMON_FILES: [&str; 2];
Expand description

The git control files shared by every worktree of one repository (git rev-parse --git-common-dir): where a ref that is not this worktree’s moves.

refs is the directory itself, which changes when a ref file is created, renamed or removed — the shape a ref update takes, since git writes a lock file and renames it over the target.