nix-prefetch-git: Print git revision

This commit is contained in:
Simon Hengel 2014-05-16 15:21:22 +08:00
parent 1cf51eb3fc
commit 26fb26e331

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