Skip to main content

run_git_text

Function run_git_text 

Source
pub fn run_git_text(args: &[&str], cwd: &Path) -> Option<String>
Expand description

run_git with Python text=True universal-newline decoding (\r\n and lone \r\n). The recency callers in this module only trim %cI stamps and the toplevel path, so they stay on the raw form; the decided-mcp provenance surface parses git show file content, where the normalization is load-bearing.