pub fn write_shallow(git_dir: &Path, oids: &[ObjectId]) -> Result<()>Expand description
Write $GIT_DIR/shallow from oids, sorting and de-duplicating them the way
git does (by hex, one per line, trailing newline). An empty set removes the
file so the repository reads as complete.