Merge pull request #2668 from sol/print-git-revision

nix-prefetch-git: Print git revision
This commit is contained in:
Austin Seipp 2014-05-18 07:47:27 -05:00
commit 06de946355

View File

@ -217,6 +217,8 @@ clone_user_rev() {
fi;;
esac
echo "git revision is $(cd $dir && git rev-parse $rev)"
# Allow doing additional processing before .git removal
eval "$NIX_PREFETCH_GIT_CHECKOUT_HOOK"
if test -z "$leaveDotGit"; then