pub(crate) fn add_entries(entries: &[&GitStatusEntry]) -> Result<()>Expand description
Add the provided entries to the Git index (equivalent to git add on each path).
ยงErrors
- Opening the repository via [
ytil_git::repo::discover] fails. - Adding any path to the index via [
ytil_git::add_to_index] fails.