aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/populate
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-12-14 20:14:33 +0100
committerlassulus <lassulus@lassul.us>2018-12-14 20:16:52 +0100
commit61b5ef3b8e7e4d601db67a20f14a5022e9de8398 (patch)
tree64b71261f16e2331324647142f7b4bd5c7f65af6 /pkgs/populate
parent943c6567fc90c3ac400fc336359b25cfebd0f1c6 (diff)
populate pass: check only hash of source directoryv1.11.0
Diffstat (limited to 'pkgs/populate')
-rw-r--r--pkgs/populate/default.nix2
1 files changed, 1 insertions, 1 deletions
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 || :
''})