summaryrefslogtreecommitdiff
path: root/sys/src/cmd/git/ols.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2022-02-27 04:27:56 +0000
committerOri Bernstein <ori@eigenstate.org>2022-02-27 04:27:56 +0000
commit840d16912a39d1207a2ceb82755f690e15f17e4b (patch)
tree546f84d96aa12b7f5aa6c03ba6449970580e3b3a /sys/src/cmd/git/ols.c
parentfd1cfc824aa780c784fbb001932b7c51842cc919 (diff)
git/revert: update modification time on revert
when reverting files, 'cp -x' updates the mtime to the time the file was committed. this prevents 'mk' from rebuilding the file, leading to stale builds. this change touches the file on revert, so that we rebuild the file.
Diffstat (limited to 'sys/src/cmd/git/ols.c')
0 files changed, 0 insertions, 0 deletions