From 58ac1678e8438fd029a22365741fc57276eda404 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 14 Mar 2020 14:35:26 -0400 Subject: 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 Reviewed-by: David Pursehouse --- docs/internal-fs-layout.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/internal-fs-layout.md') 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 It tracks the git repository at `REPO_URL` using the `REPO_REV` branch. Those are specified at `repo init` time using the `--repo-url=` - and `--repo-branch=` options. + and `--repo-rev=` options. Any changes made to this directory will usually be automatically discarded by repo itself when it checks for updates. If you want to update to the -- cgit v1.2.3-54-g00ecf