git mtime updates skip non-existant paths
This commit is contained in:
parent
9a968c87c8
commit
b33b2a98ac
3
Makefile
3
Makefile
|
@ -151,7 +151,8 @@ toolchain-restore-mtime:
|
||||||
mkdir -p "$$d"; \
|
mkdir -p "$$d"; \
|
||||||
done; \
|
done; \
|
||||||
for f in $$(git ls-tree -r -t --full-name --name-only "HEAD"); do \
|
for f in $$(git ls-tree -r -t --full-name --name-only "HEAD"); do \
|
||||||
touch -t \
|
( test -f "$$f" || test -d "$$f" ) \
|
||||||
|
&& touch -t \
|
||||||
$$(git log \
|
$$(git log \
|
||||||
--pretty=format:%cd \
|
--pretty=format:%cd \
|
||||||
--date=format:%Y%m%d%H%M.%S \
|
--date=format:%Y%m%d%H%M.%S \
|
||||||
|
|
Loading…
Reference in New Issue