Hi, Here are the patches that allow transport helpers to be completely transparent; renaming branches, deleting them, custom refspecs, --force, --dry-run, reporting forced update, everything works. Some of these were were sent before and rejected without a reason, but here they are again in case anybody is interested. Diff from v2: --- a/transport-helper.c +++ b/transport-helper.c @@ -821,8 +821,10 @@ static int push_refs_with_export(struct transport *transport, die("helper %s does not support dry-run", data->name); } - if (flags & TRANSPORT_PUSH_FORCE) - set_helper_option(transport, "force", "true"); + if (flags & TRANSPORT_PUSH_FORCE) { + if (set_helper_option(transport, "force", "true") != 0) + die("helper %s does not support 'force'", data->name); + } helper = get_helper(transport); Felipe Contreras (10): transport-helper: add 'force' to 'export' helpers transport-helper: fix extra lines transport-helper: check for 'forced update' message fast-export: improve argument parsing fast-export: add new --refspec option transport-helper: add support for old:new refspec fast-import: add support to delete refs fast-export: add support to delete refs transport-helper: add support to delete branches transport-helper: don't update refs in dry-run Documentation/git-fast-export.txt | 4 ++++ Documentation/git-fast-import.txt | 3 +++ builtin/fast-export.c | 47 ++++++++++++++++++++++++++++++++++++++- fast-import.c | 13 ++++++++--- t/t5801-remote-helpers.sh | 10 ++++++++- t/t9300-fast-import.sh | 18 +++++++++++++++ t/t9350-fast-export.sh | 18 +++++++++++++++ transport-helper.c | 44 ++++++++++++++++++++++++++---------- 8 files changed, 140 insertions(+), 17 deletions(-) -- 1.8.4-fc -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html