Skip to content

Commit

Permalink
[docker] Restore mtime of .git* files (flutter#186)
Browse files Browse the repository at this point in the history
Restore mtime of .git* files to OLD TIME together because some ninja build uses the .git/logs/HEAD files to get the version information. This affects the incremental build.
  • Loading branch information
WonyoungChoi authored and swift-kim committed Sep 29, 2021
1 parent a8fc650 commit a08d62d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/docker/tizen/tools/cache-checksum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if [[ "$COMMAND" == "restore" ]]; then
fi

# Set mtime of files in $TARGET_DIRS to OLD time.
for d in $(find $TARGET_DIRS -type d -not -path "*/.git*"); do
for d in $(find $TARGET_DIRS -type d); do
touch -c -m -d @1600000000 $d/* &
done

Expand Down

0 comments on commit a08d62d

Please sign in to comment.