git-repo/docs
Fredrik de Groot ebdf0409d2 Add REPO_SKIP_SELF_UPDATE check in sync
The command _PostRepoFetch will try to self update
during repo sync. That is beneficial but adds
version uncertainty, fail potential and slow downs
in non-interactive scenarios.

Conditionally skip the update if env variable
REPO_SKIP_SELF_UPDATE is defined.

A call to selfupdate works as before, meaning even
with the variable set, it will run the update.

Change-Id: Iab0ef55dc3d3db3cbf1ba1f506c57fbb58a504c3
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/439967
Tested-by: Fredrik de Groot <fredrik.de.groot@haleytek.com>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
2024-10-28 17:46:25 +00:00
..
internal-fs-layout.md docs: Document .repo_localsyncstate.json 2023-08-18 18:19:46 +00:00
manifest-format.md manifest: add optional base check on remove and extend 2024-10-28 16:55:10 +00:00
python-support.md docs: fix some grammar typos 2024-01-04 17:19:33 +00:00
release-process.md Add REPO_SKIP_SELF_UPDATE check in sync 2024-10-28 17:46:25 +00:00
repo-hooks.md switch to "main" branch for development 2020-11-16 05:07:33 +00:00
windows.md docs: update Windows info 2020-02-22 04:56:24 +00:00