Skip to content

Flags and config to sign pushes by default

Dave Borowitz git 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 9 repliesIn review
  2. v17 patches 24 repliesSuperseded

Changes in v2 from the cover letter

- Rebased on 44e02239
- Use options --[no-]signed|--signed=(yes|no|if-asked)
- Support general yes/true/1/etc. option parsing.
- Convert builtin/send-pack.c to use option parsing API for better code reuse.
- Various cleanups as suggested by Junio.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9Documentation/git-push.txt: Document when --signed may failDocumentation/git-push.txt+3 -10 replies
2/9Documentation/git-send-pack.txt: Flow long synopsis lineDocumentation/git-send-pack.txt+2 -14 replies
3/9Documentation/git-send-pack.txt: Document --signedDocumentation/git-send-pack.txt+10 -10 replies
4/9gitremote-helpers.txt: Document pushcert optionDocumentation/gitremote-helpers.txt+3 -00 replies
5/9transport: Remove git_transport_options.push_certtransport.c transport.h+0 -40 replies
6/9config.c: Expose git_parse_maybe_boolcache.h config.c+4 -30 replies
7/9builtin/send-pack.c: Use option parsing APIbuiltin/send-pack.c+59 -1043 replies
8/9Support signing pushes iff the server supports itDocumentation/git-push.txt Documentation/git-send-pack.txt builtin/push.c +7 more+128 -492 replies
9/9Add a config option push.gpgSign for default signed pushesDocumentation/config.txt builtin/push.c builtin/send-pack.c+70 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/9] Flags and config to sign pushes by default

Changes since v1:
- Rebased on 44e02239
- Use options --[no-]signed|--signed=(yes|no|if-asked)
- Support general yes/true/1/etc. option parsing.
- Convert builtin/send-pack.c to use option parsing API for better code reuse.
- Various cleanups as suggested by Junio.

v1 can be found at:
http://thread.gmane.org/gmane.comp.version-control.git/275881

Dave Borowitz (9):
Documentation/git-push.txt: Document when --signed may fail Documentation/git-send-pack.txt: Flow long synopsis line Documentation/git-send-pack.txt: Document --signed gitremote-helpers.txt: Document pushcert option
transport: Remove git_transport_options.push_cert config.c: Expose git_parse_maybe_bool builtin/send-pack.c: Use option parsing API Support signing pushes iff the server supports it Add a config option push.gpgSign for default signed pushes

 Documentation/config.txt            |   8 ++
 Documentation/git-push.txt          |  15 ++-
 Documentation/git-send-pack.txt     |  16 ++-
 Documentation/gitremote-helpers.txt |   3 +
 builtin/push.c                      |  42 +++++++-
 builtin/send-pack.c                 | 192 ++++++++++++++++--------------------
 cache.h                             |   1 +
 config.c                            |   6 +-
 remote-curl.c                       |  16 ++-
 send-pack.c                         |  43 ++++++--
 send-pack.h                         |  12 ++-
 transport-helper.c                  |  34 +++----
 transport.c                         |  11 ++-
 transport.h                         |   6 +-
 14 files changed, 253 insertions(+), 152 deletions(-)
Signature · 1 line
2.5.0.276.gf5e568e