Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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()));


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: