threads / patch / 40867

patchDocumentation/git-update-index: add missing opts to synopsys

Subject: [PATCH] Documentation/git-update-index: add missing opts to synopsys

## tl;dr

3 messages between Nov 24, 2015 and Nov 25, 2015. Diffs are folded; open one to read it.

replies: 2people: 2as markdown or json

Christian Couder· Nov 24, 2015, 11:55 UTC · lore
Untracked cache related options should appear in the synopsis.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 Documentation/git-update-index.txt | 1 +
 1 file changed, 1 insertion(+)
Show changes to Documentation/git-update-index.txt +1 −0
diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt
index 1a296bc..3df9c26 100644
--- a/Documentation/git-update-index.txt
+++ b/Documentation/git-update-index.txt
@@ -17,6 +17,7 @@ SYNOPSIS
 	     [--[no-]assume-unchanged]
 	     [--[no-]skip-worktree]
 	     [--ignore-submodules]
+	     [--[no-|force-]untracked-cache]
 	     [--really-refresh] [--unresolve] [--again | -g]
 	     [--info-only] [--index-info]
 	     [-z] [--stdin] [--index-version <n>]
-- 
2.6.2.412.gf783589.dirty
Jeff King· Nov 24, 2015, 20:46 UTC · re: Christian Couder · lore

Re: [PATCH] Documentation/git-update-index: add missing opts to synopsys

On Tue, Nov 24, 2015 at 12:55:07PM +0100, Christian Couder wrote:
Show 16 quoted lines
> Untracked cache related options should appear in the synopsis.
> 
> Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
> ---
>  Documentation/git-update-index.txt | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt
> index 1a296bc..3df9c26 100644
> --- a/Documentation/git-update-index.txt
> +++ b/Documentation/git-update-index.txt
> @@ -17,6 +17,7 @@ SYNOPSIS
>  	     [--[no-]assume-unchanged]
>  	     [--[no-]skip-worktree]
>  	     [--ignore-submodules]
> +	     [--[no-|force-]untracked-cache]

Thanks, and it looks like they are already documented in the OPTIONS section.

-Peff
Christian Couder· Nov 25, 2015, 06:56 UTC · re: Jeff King · lore

Re: [PATCH] Documentation/git-update-index: add missing opts to synopsys

On Tue, Nov 24, 2015 at 9:46 PM, Jeff King <peff@peff.net> wrote:
Show 21 quoted lines
> On Tue, Nov 24, 2015 at 12:55:07PM +0100, Christian Couder wrote:
>
>> Untracked cache related options should appear in the synopsis.
>>
>> Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
>> ---
>>  Documentation/git-update-index.txt | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt
>> index 1a296bc..3df9c26 100644
>> --- a/Documentation/git-update-index.txt
>> +++ b/Documentation/git-update-index.txt
>> @@ -17,6 +17,7 @@ SYNOPSIS
>>            [--[no-]assume-unchanged]
>>            [--[no-]skip-worktree]
>>            [--ignore-submodules]
>> +          [--[no-|force-]untracked-cache]
>
> Thanks, and it looks like they are already documented in the OPTIONS
> section.

Yeah, I just added this information into the commit message and sent a v2 that also add split index related options to the synopsis.

Thanks, Christian.

← back to recent threads