3 ms·
You're right, that's what I get for doing this fast. In that case I'd say let dot_git_dir = have_dot_git(&cwd).unwrap_or_else(|| panic!("{} does not appear t
by eridius 12y ago
You're right, that's what I get for doing this fast. In that case I'd say
let dot_git_dir = have_dot_git(&cwd).unwrap_or_else(|| panic!("{} does not appear to have a controlling .git directory; you are not in a git repository!", cwd.display()));