transport-helper: pass --signed-tags=warn-strip to fast-export
commitb8bd826f3a4196bc80a3c957503b421709b401ab
authorJohn Keeping <john@keeping.me.uk>
Sun, 14 Apr 2013 10:57:07 +0000 (14 11:57 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Apr 2013 16:03:16 +0000 (15 09:03 -0700)
treebc88536a6d26fd6fcff4b7e27c0b2b55d0e8be15
parentcd16c59bfa216b7e153f357ccfa89d2a567b8c00
transport-helper: pass --signed-tags=warn-strip to fast-export

Currently, attempting to push a signed tag to a remote helper which uses
fast-export results in the remote helper failing because the default
fast-export action for signed tags is "abort".  This is not helpful for
users because there is no way to pass additional arguments to
fast-export here, either from the remote helper or from the command
line.

In general, the signature will be invalidated by whatever transformation
a remote helper performs on a tag to push it to a repository in a
different format so the correct behaviour is to strip the tag.  Doing
this silently may surprise people, so use "warn-strip" to issue a
warning when a signed tag is encountered.

Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5801-remote-helpers.sh
transport-helper.c