From 61b5ef3b8e7e4d601db67a20f14a5022e9de8398 Mon Sep 17 00:00:00 2001 From: lassulus Date: Fri, 14 Dec 2018 20:14:33 +0100 Subject: populate pass: check only hash of source directory --- pkgs/populate/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs') diff --git a/pkgs/populate/default.nix b/pkgs/populate/default.nix index 487f689..9cec154 100644 --- a/pkgs/populate/default.nix +++ b/pkgs/populate/default.nix @@ -67,7 +67,7 @@ let umask 0077 if test -e ${quote source.dir}/.git; then - local_pass_info=${quote source.name}\ $(${git}/bin/git -C ${quote source.dir} rev-parse HEAD) + local_pass_info=${quote source.name}\ $(${git}/bin/git -C ${quote source.dir} log -1 --format=%H ${quote source.name}) remote_pass_info=$(${shell' target /* sh */ '' cat ${quote target.path}/.pass_info || : ''}) -- cgit v1.2.3