Re: [RFC/PATCHv3] submodule update: allow custom update command
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 3, 2013, 17:09 UTC
- Message-ID
- <7v8v1nh8o8.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <51D3E5BA.1090408@gmail.com>
Chris Packham <judge.packham@gmail.com> writes:
Show 8 quoted lines
> On 03/07/13 19:54, Chris Packham wrote: >> On a related note should I be updating Documentation/config.txt as well? >> Even if it's a statement that this feature exists refer to >> git-submodule(1) for details. >> > > Answering my own question. While 'update' is mentioned it's possible > values are not.
Yeah, I think it is good as-is.
The entry in config.txt points at git-submodule(1) and your patch updates the latter by adding another possible value, so the values are discoverable; we do not have to maintain two separate lists and keep them in sync that way.