update: fix --tags explanation in --narrow help string
For 'git fetch', neither --tags nor --no-tags is the default value. The default value is a middle ground that fetches "any tag that points into the histories being fetched is also fetched" - second paragraph in "git help fetch". Rather than duplicating this relatively non-intuitive git help in such a small space, be completely transparent about what the west code does and lead the reader to the original git documentation. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
8d96e10d5f
commit
38e656b05e
|
@ -767,8 +767,9 @@ class Update(_ProjectCommand):
|
||||||
may be given more than once''')
|
may be given more than once''')
|
||||||
group.add_argument('-n', '--narrow', action='store_true',
|
group.add_argument('-n', '--narrow', action='store_true',
|
||||||
help='''fetch just the project revision if fetching
|
help='''fetch just the project revision if fetching
|
||||||
is necessary; skip fetching tags (may not work for
|
is necessary; do not pass --tags to git fetch
|
||||||
SHA revisions depending on the Git host)''')
|
(may not work for SHA revisions depending on the Git
|
||||||
|
host)''')
|
||||||
|
|
||||||
group = parser.add_argument_group(
|
group = parser.add_argument_group(
|
||||||
title='checked out branch behavior',
|
title='checked out branch behavior',
|
||||||
|
|
Loading…
Reference in New Issue