diff options
author | Mike Frysinger <vapier@google.com> | 2020-03-14 14:35:26 -0400 |
---|---|---|
committer | David Pursehouse <dpursehouse@collab.net> | 2020-03-18 00:24:43 +0000 |
commit | 58ac1678e8438fd029a22365741fc57276eda404 (patch) | |
tree | ddadc39f70fa728e5cf75f2220716da42cef4d55 /docs/internal-fs-layout.md | |
parent | e1111f5710acf16d91975a9ee5e2c9464730becf (diff) | |
download | git-repo-58ac1678e8438fd029a22365741fc57276eda404.tar.gz |
init: rename --repo-branch to --repo-rev
We refer to this as "revision" in help text, and in REPO_REV envvar,
so rename to --repo-rev to be consistent. We keep --repo-branch for
backwards compatibility, but as a hidden option.
Bug: https://crbug.com/gerrit/11045
Change-Id: I1ecc282fba32917ed78a63850360c08469db849a
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/259352
Tested-by: Mike Frysinger <vapier@google.com>
Reviewed-by: David Pursehouse <dpursehouse@collab.net>
Diffstat (limited to 'docs/internal-fs-layout.md')
-rw-r--r-- | docs/internal-fs-layout.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/internal-fs-layout.md b/docs/internal-fs-layout.md index b06e898f..5e8690b8 100644 --- a/docs/internal-fs-layout.md +++ b/docs/internal-fs-layout.md | |||
@@ -34,7 +34,7 @@ For example, if you want to change the manifest branch, you can simply run | |||
34 | 34 | ||
35 | It tracks the git repository at `REPO_URL` using the `REPO_REV` branch. | 35 | It tracks the git repository at `REPO_URL` using the `REPO_REV` branch. |
36 | Those are specified at `repo init` time using the `--repo-url=<REPO_URL>` | 36 | Those are specified at `repo init` time using the `--repo-url=<REPO_URL>` |
37 | and `--repo-branch=<REPO_REV>` options. | 37 | and `--repo-rev=<REPO_REV>` options. |
38 | 38 | ||
39 | Any changes made to this directory will usually be automatically discarded | 39 | Any changes made to this directory will usually be automatically discarded |
40 | by repo itself when it checks for updates. If you want to update to the | 40 | by repo itself when it checks for updates. If you want to update to the |