Skip to content

Remove value from position args in config unset usage

Josh Heinrichs git 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 2 repliesIn review
  2. v11 patch 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1git-config.1: remove value from positional args in unset usageDocumentation/git-config.txt builtin/config.c+3 -32 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchPatrick Steinhardt
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/1] Remove value from position args in config unset usage

Hello!

This version addresses the issues with my commit message that Patrick flagged in v1.

Josh

Josh Heinrichs (1):
git-config.1: remove value from positional args in unset usage

 Documentation/git-config.txt | 2 +-
 builtin/config.c             | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Range-diff against v1:
1: 4bb9c65fb9 ! 1: e3b5f3c8b2 git-config.1: remove value from positional args in unset usage
@@ Metadata
## Commit message ##
git-config.1: remove value from positional args in unset usage

- A single positional argument appears to be enforcecd at
- builtin/config.c:993. Values need to be provided via --value.
+ The synopsis for git config unset mentions two positional arguments:
+ <name> and <value>. While the first argument is correct, the second
+ is not. Users are expected to provide the value via --value=<value>.
+
+ Remove the positional argument. The --value=<value> option is already
+ documented correctly, so this is all we need to do to fix the
+ documentation.
+
+ Signed-off-by: Josh Heinrichs <[email protected]>

## Documentation/git-config.txt ##
@@ Documentation/git-config.txt: SYNOPSIS

Signature · 1 line
2.25.1