1
0
Fork 0
mirror of https://cgit.krebsco.de/krops synced 2024-11-23 03:29:48 +01:00

populate pass: check only hash of source directory

This commit is contained in:
lassulus 2018-12-14 20:14:33 +01:00
parent 943c6567fc
commit 61b5ef3b8e

View file

@ -67,7 +67,7 @@ let
umask 0077 umask 0077
if test -e ${quote source.dir}/.git; then 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 */ '' remote_pass_info=$(${shell' target /* sh */ ''
cat ${quote target.path}/.pass_info || : cat ${quote target.path}/.pass_info || :
''}) ''})