summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/fetchgit3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/fetchgit b/bin/fetchgit
index ba5b40b6a..5c230ae9f 100755
--- a/bin/fetchgit
+++ b/bin/fetchgit
@@ -20,6 +20,7 @@ dirty=$(nixos-query nixpkgs.dirty)
case $dirty in true)
ln -snf "$git_url" "$out_link"
+ echo "fetchgit: using $git_url as it is" >&2
exit
esac
@@ -83,3 +84,5 @@ if test "$(dirname "$work_dir")" = "$(dirname "$out_link")"; then
else
ln -snf "$work_dir" "$out_link"
fi
+
+echo "fetchgit: using $git_url $(work_git log --oneline -n1)" >&2