Skip to main content

pathspecs

Function pathspecs 

Source
pub fn pathspecs(top: &Path) -> Vec<String>
Expand description

The pathspecs keeping each copied file out of what git add stages in the worktree at top, whatever the ignore rules say: one for each that git does not ignore there now (an attempt can un-ignore one). An ignored one needs none — and naming it would make git add fail.