mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
nix-prefetch-git: Print git revision
This commit is contained in:
parent
1cf51eb3fc
commit
26fb26e331
@ -217,6 +217,8 @@ clone_user_rev() {
|
|||||||
fi;;
|
fi;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
echo "git revision is $(cd $dir && git rev-parse $rev)"
|
||||||
|
|
||||||
# Allow doing additional processing before .git removal
|
# Allow doing additional processing before .git removal
|
||||||
eval "$NIX_PREFETCH_GIT_CHECKOUT_HOOK"
|
eval "$NIX_PREFETCH_GIT_CHECKOUT_HOOK"
|
||||||
if test -z "$leaveDotGit"; then
|
if test -z "$leaveDotGit"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user