mirror of
https://git.codelinaro.org/clo/tools/repo.git
synced 2025-07-23 04:01:50 +08:00
Add "repo branch" as an alias for "repo branches"
For those of us that are used to typing "git branch". Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
2
main.py
2
main.py
@ -59,6 +59,8 @@ class _Repo(object):
|
||||
def __init__(self, repodir):
|
||||
self.repodir = repodir
|
||||
self.commands = all_commands
|
||||
# add 'branch' as an alias for 'branches'
|
||||
all_commands['branch'] = all_commands['branches']
|
||||
|
||||
def _Run(self, argv):
|
||||
name = None
|
||||
|
Reference in New Issue
Block a user