summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Borowitz <dborowitz@google.com>2015-08-19 11:26:39 -0400
committerJunio C Hamano <gitster@pobox.com>2015-08-19 12:38:35 -0700
commitf9e0952d1ff1c1f5c8fbbe9d914bb30012341a04 (patch)
tree92f1e9a304d456d1e6815e93719c21f17a7ffef3
parentd830d395a17a146cfef2aae1c3603907fe3c890b (diff)
downloadgit-f9e0952d1ff1c1f5c8fbbe9d914bb30012341a04.tar.gz
Documentation/git-push.txt: document when --signed may fail
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>
-rw-r--r--Documentation/git-push.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt
index 135d810b7a..da0a98d58c 100644
--- a/Documentation/git-push.txt
+++ b/Documentation/git-push.txt
@@ -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.