diff options
author | Benno Fünfstück <benno.fuenfstueck@gmail.com> | 2014-06-11 14:09:58 +0200 |
---|---|---|
committer | Benno Fünfstück <benno.fuenfstueck@gmail.com> | 2014-06-11 14:09:58 +0200 |
commit | be25ce8f5837eed6ada3c0da815b6fa189798c11 (patch) | |
tree | 3d400625146d1dd75bef58787c7a05fc15540e39 /pkgs/build-support/fetchsvn | |
parent | a46c4d976ccb9cb728adda20a7574af250f71a50 (diff) | |
download | nixpkgs-be25ce8f5837eed6ada3c0da815b6fa189798c11.tar nixpkgs-be25ce8f5837eed6ada3c0da815b6fa189798c11.tar.gz nixpkgs-be25ce8f5837eed6ada3c0da815b6fa189798c11.tar.bz2 nixpkgs-be25ce8f5837eed6ada3c0da815b6fa189798c11.tar.lz nixpkgs-be25ce8f5837eed6ada3c0da815b6fa189798c11.tar.xz nixpkgs-be25ce8f5837eed6ada3c0da815b6fa189798c11.tar.zst nixpkgs-be25ce8f5837eed6ada3c0da815b6fa189798c11.zip |
nix-prefetch-git: fix printing of revision
If the user explictly gives a ref such as "refs/heads/master", `git rev-parse` failed because we only checked out the `fetchgit` branch. Now, we also try `git rev-parse fetchgit` if the first call fails, which fixes the issue.
Diffstat (limited to 'pkgs/build-support/fetchsvn')
0 files changed, 0 insertions, 0 deletions