Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to discover .git instead of hardcoding. #623

Merged
merged 1 commit into from
Oct 17, 2019
Merged

Try to discover .git instead of hardcoding. #623

merged 1 commit into from
Oct 17, 2019

Commits on Oct 17, 2019

  1. Try to discover .git instead of hardcoding.

    Very minor convenience improvement.
    
    Previously we assumed that we were always in the root of the repo for
    installing Git hooks. Instead, call `rev-parse --show-toplevel` to
    discover the root of the repo, which lets us call
    `--install-pre-{commit,push}-hook` from anywhere inside a Git repository.
    erik committed Oct 17, 2019
    Configuration menu
    Copy the full SHA
    f882ac5 View commit details
    Browse the repository at this point in the history