commit | 30261094b1f7fdcba3b7a1f396e43891cd998149 | [log] [tgz] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Wed Aug 19 11:26:46 2015 -0400 |
committer | Junio C Hamano <gitster@pobox.com> | Wed Aug 19 12:58:45 2015 -0700 |
tree | 1ad9cc07d3c3dc5fb1a07c878be7f9b0fe2d4dde | |
parent | 068c77a5189584de2a8d9c2ad29e2370159444ae [diff] |
push: support signing pushes iff the server supports it Add a new flag --sign=true (or --sign=false), which means the same thing as the original --signed (or --no-signed). Give it a third value --sign=if-asked to tell push and send-pack to send a push certificate if and only if the server advertised a push cert nonce. If not, warn the user that their push may not be as secure as they thought. Signed-off-by: Dave Borowitz <dborowitz@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>