diff options
author | Gavin Mak <gavinmak@google.com> | 2023-01-26 23:27:51 +0000 |
---|---|---|
committer | Gavin Mak <gavinmak@google.com> | 2023-01-28 02:05:52 +0000 |
commit | 7e3b65beb72ea4cc3ca8bfbd0816413217a520d0 (patch) | |
tree | 0b53df44ed1644a5878a72dc8613fd160cfc3074 /docs | |
parent | c3d61ec2529790bb690071e229511cc641cea5ad (diff) | |
download | git-repo-7e3b65beb72ea4cc3ca8bfbd0816413217a520d0.tar.gz |
Enable use of REPO_CONFIG_DIR to customize .repoconfig location
For use cases with multiple instances of repo, eg some CI environments.
Bug: https://crbug.com/gerrit/15803
Change-Id: I65c1cfc8f6a98adfeb5efefc7ac6b45bf8e134de
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/356719
Tested-by: Gavin Mak <gavinmak@google.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/internal-fs-layout.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/internal-fs-layout.md b/docs/internal-fs-layout.md index 8be61782..401ebda1 100644 --- a/docs/internal-fs-layout.md +++ b/docs/internal-fs-layout.md | |||
@@ -243,7 +243,9 @@ The `[branch]` settings are updated by `repo start` and `git branch`. | |||
243 | 243 | ||
244 | ## ~/ dotconfig layout | 244 | ## ~/ dotconfig layout |
245 | 245 | ||
246 | Repo will create & maintain a few files in the user's home directory. | 246 | Repo will create & maintain a few files under the `.repoconfig/` directory. |
247 | This is placed in the user's home directory by default but can be changed by | ||
248 | setting `REPO_CONFIG_DIR`. | ||
247 | 249 | ||
248 | * `.repoconfig/`: Repo's per-user directory for all random config files/state. | 250 | * `.repoconfig/`: Repo's per-user directory for all random config files/state. |
249 | * `.repoconfig/config`: Per-user settings using [git-config] file format. | 251 | * `.repoconfig/config`: Per-user settings using [git-config] file format. |