summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-07-10 11:27:33 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-07-10 11:27:34 -0700
commit39177c7f184b4c07a1f53f99f59c920c3fb6222d (patch)
tree1a536ab74526d6aaa089b4e72742b4b3686c89fe /Documentation
parentMerge branch 'jc/fix-clone-single-starting-at-a-tag' (diff)
parentt7510: test verify-commit (diff)
downloadtgif-39177c7f184b4c07a1f53f99f59c920c3fb6222d.tar.xz
Merge branch 'mg/verify-commit'
Add 'verify-commit' to be used in a way similar to 'verify-tag' is used. Further work on verifying the mergetags might be needed. * mg/verify-commit: t7510: test verify-commit t7510: exit for loop with test result verify-commit: scriptable commit signature verification gpg-interface: provide access to the payload gpg-interface: provide clear helper for struct signature_check
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-verify-commit.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/git-verify-commit.txt b/Documentation/git-verify-commit.txt
new file mode 100644
index 0000000000..9413e2802a
--- /dev/null
+++ b/Documentation/git-verify-commit.txt
@@ -0,0 +1,28 @@
+git-verify-commit(1)
+====================
+
+NAME
+----
+git-verify-commit - Check the GPG signature of commits
+
+SYNOPSIS
+--------
+[verse]
+'git verify-commit' <commit>...
+
+DESCRIPTION
+-----------
+Validates the gpg signature created by 'git commit -S'.
+
+OPTIONS
+-------
+-v::
+--verbose::
+ Print the contents of the commit object before validating it.
+
+<commit>...::
+ SHA-1 identifiers of Git commit objects.
+
+GIT
+---
+Part of the linkgit:git[1] suite