summary refs log tree commit diff
path: root/pkgs/build-support/fetchsvn
diff options
context:
space:
mode:
authorBenno Fünfstück <benno.fuenfstueck@gmail.com>2014-06-11 14:09:58 +0200
committerBenno Fünfstück <benno.fuenfstueck@gmail.com>2014-06-11 14:09:58 +0200
commitbe25ce8f5837eed6ada3c0da815b6fa189798c11 (patch)
tree3d400625146d1dd75bef58787c7a05fc15540e39 /pkgs/build-support/fetchsvn
parenta46c4d976ccb9cb728adda20a7574af250f71a50 (diff)
downloadnixpkgs-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