Merge branch 'dn/gpg-doc' into maint
authorJunio C Hamano <gitster@pobox.com>
Wed, 6 Jul 2016 20:06:36 +0000 (13:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Jul 2016 20:06:36 +0000 (13:06 -0700)
The documentation tries to consistently spell "GPG"; when
referring to the specific program name, "gpg" is used.

* dn/gpg-doc:
Documentation: GPG capitalization

1  2 
Documentation/git-tag.txt
Documentation/git-verify-commit.txt
index 4b1c1b8e5ca0be18e5571c6e967a0723e7631397,879958b64052d8d633ea6c15d675afe49b7a39b7..6b89393746af6a4fb21011ea0f4cc758ce2db403
@@@ -9,12 -9,12 +9,12 @@@ git-tag - Create, list, delete or verif
  SYNOPSIS
  --------
  [verse]
 -'git tag' [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>]
 +'git tag' [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>]
        <tagname> [<commit> | <object>]
  'git tag' -d <tagname>...
  'git tag' [-n[<num>]] -l [--contains <commit>] [--points-at <object>]
 -      [--column[=<options>] | --no-column] [<pattern>...]
 -      [<pattern>...]
 +      [--column[=<options>] | --no-column] [--create-reflog] [--sort=<key>]
 +      [--format=<format>] [--[no-]merged [<commit>]] [<pattern>...]
  'git tag' -v <tagname>...
  
  DESCRIPTION
@@@ -25,19 -25,19 +25,19 @@@ to delete, list or verify tags
  
  Unless `-f` is given, the named tag must not yet exist.
  
 -If one of `-a`, `-s`, or `-u <key-id>` is passed, the command
 +If one of `-a`, `-s`, or `-u <keyid>` is passed, the command
  creates a 'tag' object, and requires a tag message.  Unless
  `-m <msg>` or `-F <file>` is given, an editor is started for the user to type
  in the tag message.
  
 -If `-m <msg>` or `-F <file>` is given and `-a`, `-s`, and `-u <key-id>`
 +If `-m <msg>` or `-F <file>` is given and `-a`, `-s`, and `-u <keyid>`
  are absent, `-a` is implied.
  
  Otherwise just a tag reference for the SHA-1 object name of the commit object is
  created (i.e. a lightweight tag).
  
  A GnuPG signed tag object will be created when `-s` or `-u
 -<key-id>` is used.  When `-u <key-id>` is not used, the
 +<keyid>` is used.  When `-u <keyid>` is not used, the
  committer identity for the current user is used to find the
  GnuPG key for signing.        The configuration variable `gpg.program`
  is used to specify custom GnuPG binary.
@@@ -64,8 -64,8 +64,8 @@@ OPTION
  --sign::
        Make a GPG-signed tag, using the default e-mail address's key.
  
 --u <key-id>::
 ---local-user=<key-id>::
 +-u <keyid>::
 +--local-user=<keyid>::
        Make a GPG-signed tag, using the given key.
  
  -f::
@@@ -78,7 -78,7 +78,7 @@@
  
  -v::
  --verify::
-       Verify the gpg signature of the given tag names.
+       Verify the GPG signature of the given tag names.
  
  -n<num>::
        <num> specifies how many lines from the annotation, if any,
        using fnmatch(3)).  Multiple patterns may be given; if any of
        them matches, the tag is shown.
  
 ---sort=<type>::
 -      Sort in a specific order. Supported type is "refname"
 -      (lexicographic order), "version:refname" or "v:refname" (tag
 +--sort=<key>::
 +      Sort based on the key given.  Prefix `-` to sort in
 +      descending order of the value. You may use the --sort=<key> option
 +      multiple times, in which case the last key becomes the primary
 +      key. Also supports "version:refname" or "v:refname" (tag
        names are treated as versions). The "version:refname" sort
        order can also be affected by the
 -      "versionsort.prereleaseSuffix" configuration variable. Prepend
 -      "-" to reverse sort order. When this option is not given, the
 -      sort order defaults to the value configured for the 'tag.sort'
 +      "versionsort.prereleaseSuffix" configuration variable.
 +      The keys supported are the same as those in `git for-each-ref`.
 +      Sort order defaults to the value configured for the `tag.sort`
        variable if it exists, or lexicographic order otherwise. See
        linkgit:git-config[1].
  
@@@ -128,14 -126,14 +128,14 @@@ This option is only applicable when lis
        Use the given tag message (instead of prompting).
        If multiple `-m` options are given, their values are
        concatenated as separate paragraphs.
 -      Implies `-a` if none of `-a`, `-s`, or `-u <key-id>`
 +      Implies `-a` if none of `-a`, `-s`, or `-u <keyid>`
        is given.
  
  -F <file>::
  --file=<file>::
        Take the tag message from the given file.  Use '-' to
        read the message from the standard input.
 -      Implies `-a` if none of `-a`, `-s`, or `-u <key-id>`
 +      Implies `-a` if none of `-a`, `-s`, or `-u <keyid>`
        is given.
  
  --cleanup=<mode>::
        all, 'whitespace' removes just leading/trailing whitespace lines and
        'strip' removes both whitespace and commentary.
  
 +--create-reflog::
 +      Create a reflog for the tag.
 +
  <tagname>::
        The name of the tag to create, delete, or describe.
        The new tag name must pass all checks defined by
        The object that the new tag will refer to, usually a commit.
        Defaults to HEAD.
  
 +<format>::
 +      A string that interpolates `%(fieldname)` from the object
 +      pointed at by a ref being shown.  The format is the same as
 +      that of linkgit:git-for-each-ref[1].  When unspecified,
 +      defaults to `%(refname:strip=2)`.
 +
 +--[no-]merged [<commit>]::
 +      Only list tags whose tips are reachable, or not reachable
 +      if '--no-merged' is used, from the specified commit ('HEAD'
 +      if not specified).
  
  CONFIGURATION
  -------------
@@@ -179,7 -164,7 +179,7 @@@ it in the repository configuration as f
  
  -------------------------------------
  [user]
 -    signingKey = <gpg-key-id>
 +    signingKey = <gpg-keyid>
  -------------------------------------
  
  
index ecf4da16cf0a270cda7916777524ac129b4bead1,8a5afdea23fe0368dfc01218ce1d0369647f472c..92097f6673d8e72229b42c33227353ad5226f17e
@@@ -12,14 -12,10 +12,14 @@@ SYNOPSI
  
  DESCRIPTION
  -----------
- Validates the gpg signature created by 'git commit -S'.
+ Validates the GPG signature created by 'git commit -S'.
  
  OPTIONS
  -------
 +--raw::
 +      Print the raw gpg status output to standard error instead of the normal
 +      human-readable output.
 +
  -v::
  --verbose::
        Print the contents of the commit object before validating it.