init: Remove -c short option for --current-branch

This option conflicts with the gitc-init -c short option.

Bug: https://crbug.com/gerrit/10200
Change-Id: I06f37564429ca0bd4c0bbea6066daae4f663c838
This commit is contained in:
Ereth McKnight-MacNeil 2018-12-19 21:28:35 -08:00 committed by Jonathan Nieder
parent e158e3802d
commit 12ee5446e9
2 changed files with 3 additions and 3 deletions

4
repo
View File

@ -23,7 +23,7 @@ REPO_REV = 'stable'
# limitations under the License. # limitations under the License.
# increment this whenever we make important changes to this script # increment this whenever we make important changes to this script
VERSION = (1, 24) VERSION = (1, 25)
# increment this if the MAINTAINER_KEYS block is modified # increment this if the MAINTAINER_KEYS block is modified
KEYRING_VERSION = (1, 2) KEYRING_VERSION = (1, 2)
@ -183,7 +183,7 @@ group.add_option('-b', '--manifest-branch',
group.add_option('-m', '--manifest-name', group.add_option('-m', '--manifest-name',
dest='manifest_name', dest='manifest_name',
help='initial manifest file', metavar='NAME.xml') help='initial manifest file', metavar='NAME.xml')
group.add_option('-c', '--current-branch', group.add_option('--current-branch',
dest='current_branch_only', action='store_true', dest='current_branch_only', action='store_true',
help='fetch only current manifest branch from server') help='fetch only current manifest branch from server')
group.add_option('--mirror', group.add_option('--mirror',

View File

@ -95,7 +95,7 @@ to update the working directory files.
g.add_option('-b', '--manifest-branch', g.add_option('-b', '--manifest-branch',
dest='manifest_branch', dest='manifest_branch',
help='manifest branch or revision', metavar='REVISION') help='manifest branch or revision', metavar='REVISION')
g.add_option('-c', '--current-branch', g.add_option('--current-branch',
dest='current_branch_only', action='store_true', dest='current_branch_only', action='store_true',
help='fetch only current manifest branch from server') help='fetch only current manifest branch from server')
g.add_option('-m', '--manifest-name', g.add_option('-m', '--manifest-name',