--- Obviously the testgit helper shouldn't just print 'ok' for master, but it demonstrates the idea. git-remote-testgit.py | 3 +++ transport-helper.c | 1 + 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/git-remote-testgit.py b/git-remote-testgit.py index 612cb5a..342a05d 100644 --- a/git-remote-testgit.py +++ b/git-remote-testgit.py @@ -151,6 +151,9 @@ def do_export(repo, args): repo.importer.do_import(repo.gitdir) repo.non_local.push(repo.gitdir) + print "ok refs/heads/master" + print + def do_gitdir(repo, args): """Stores the location of the gitdir. diff --git a/transport-helper.c b/transport-helper.c index 5647595..ecaea25 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -756,6 +756,7 @@ static int push_refs_with_export(struct transport *transport, data->no_disconnect_req = 1; if(finish_command(&exporter)) die("Error while running fast-export"); + push_update_refs_status(data, remote_refs); return 0; } -- 1.7.2.1.240.g6a95c3 -- 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