Skip to main content

tree

Function tree 

Source
pub fn tree(worktree: &Path) -> Result<String>
Expand description

The tree the index holds right now, as git names it.

Called straight after diff has staged the change, this is the identity of exactly what a reviewer is about to be shown — and so of exactly what an approval can be allowed to commit.