]> granicus.if.org Git - git/commitdiff
Documentation/git-push.txt: document when --signed may fail
authorDave Borowitz <dborowitz@google.com>
Wed, 19 Aug 2015 15:26:39 +0000 (11:26 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Aug 2015 19:38:35 +0000 (12:38 -0700)
Like --atomic, --signed will fail if the server does not advertise the
necessary capability. In addition, it requires gpg on the client side.

Signed-off-by: Dave Borowitz <dborowitz@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-push.txt

index 135d810b7a9b7e36d1cb06ca49c185655a655bee..da0a98d58c3203d8605f436096184264b27e1599 100644 (file)
@@ -137,7 +137,9 @@ already exists on the remote side.
        GPG-sign the push request to update refs on the receiving
        side, to allow it to be checked by the hooks and/or be
        logged.  See linkgit:git-receive-pack[1] for the details
-       on the receiving end.
+       on the receiving end.  If the attempt to sign with `gpg` fails,
+       or if the server does not support signed pushes, the push will
+       fail.
 
 --[no-]atomic::
        Use an atomic transaction on the remote side if available.