summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
authorJosip Sokcevic <sokcevic@chromium.org>2025-03-12 20:40:49 +0000
committerLUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2025-03-13 08:24:35 -0700
commitfc901b92bbcde2c16cd557322041abf958297665 (patch)
tree758275e935e2752bdfa9014676b764fab3f2ee5b /project.py
parent8d5f03261164f3cd65af0576dfa7d4edded96c67 (diff)
downloadgit-repo-fc901b92bbcde2c16cd557322041abf958297665.tar.gz
sync: Refresh index before updating repo
If the repo index is stale, reset --keep will refuse to reset workspace. An index can be stale if there are any modifications to file node, including mtime, atime, ownership changes, etc. Bug: b/375423099 Change-Id: Ibef03d9d8d2babbb107041707281687342ab7a77 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/460022 Commit-Queue: Josip Sokcevic <sokcevic@chromium.org> Tested-by: Josip Sokcevic <sokcevic@chromium.org> Reviewed-by: Scott Lee <ddoman@google.com>
Diffstat (limited to 'project.py')
0 files changed, 0 insertions, 0 deletions