diff options
author | Egor Duda <egor.duda@gmail.com> | 2025-03-06 10:14:44 +0300 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2025-04-02 06:43:06 -0700 |
commit | f070331a4c9993f4eedcc7fcb1c4b4807db69d02 (patch) | |
tree | 60123c8fe0aaa302d1bf5b0f35c7fc7ceba5752e /subcmds/sync.py | |
parent | 9ecb80ba26649e47c1f357c1a6f48c028ce7689b (diff) | |
download | git-repo-f070331a4c9993f4eedcc7fcb1c4b4807db69d02.tar.gz |
Fix EROFS error when root fs is mounted read-only
repo attempts to create /etc/.repo_gitconfig.json file, and fails if
root file system is mounted read-only. Removing non-existing file on
read-only filesystem results in EROFS instead of ENOENT.
Bug: 401018409
Change-Id: I64edc0567fb88649f3fd8cacb65a8780744640d4
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/458821
Reviewed-by: Mike Frysinger <vapier@google.com>
Tested-by: Egor Duda <egor.duda@gmail.com>
Commit-Queue: Egor Duda <egor.duda@gmail.com>
Diffstat (limited to 'subcmds/sync.py')
0 files changed, 0 insertions, 0 deletions