]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Scripts/SetupGit.py
BaseTools: add repo name option to SetupGit.py
authorRebecca Cran <rebecca@bsdio.com>
Fri, 1 May 2020 20:00:44 +0000 (04:00 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 8 May 2020 03:59:29 +0000 (03:59 +0000)
commit3a3713e62cfad00d78bb938b0d9fb1eedaeff314
tree32f4e85d9b8ba9f9a25f47221a18e80edc48b06c
parent8293e6766a884918a6b608c64543caab49870597
BaseTools: add repo name option to SetupGit.py

Allow users who didn't clone one of the TianoCore repos from a
canonical URL to specify the name of the repo (edk2, edk2-platforms
or edk2-non-osi) when running SetupGit.py to allow them to configure
their repo properly.

The new option is:

  -n repo, --name repo  set the repo name to configure for, if not
                        detected automatically

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
BaseTools/Scripts/SetupGit.py