Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 65e6812dc86d
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 1882d20155ba
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Feb 1, 2020

  1. pre-commit: installed git hook should have full path to binary (#77638)

    pre-commit currently install impure Git hooks that look for the
    `pre-commit` binary in PATH. If the user has `pre-commit` loaded via a
    nix-shell instead of having it installed then GUI editors, such as
    Intellij, won't be able to use Git commit because the hook fails trying
    to look for the `pre-commit` binary in PATH.
    
    This patch updates the hook template to use the hardcoded path to the
    `pre-commit` binary if it was found, fallback to using the one from
    PATH.
    kalbasit committed Feb 1, 2020
    Copy the full SHA
    1882d20 View commit details
    Browse the repository at this point in the history