diff options
author | Sverre Rabbelier <srabbelier@gmail.com> | 2011-07-16 15:03:37 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-07-19 11:17:48 -0700 |
commit | 6c8151a32e59c3109b3acc886358bfe6c14612fb (patch) | |
tree | 882657ee395b45ddf7aefb34f664c69c952130f8 /git-remote-testgit.py | |
parent | 1f25c50419c5f46cd6b818438fe641cf942ee6ad (diff) | |
download | git-6c8151a32e59c3109b3acc886358bfe6c14612fb.tar.gz |
transport-helper: update ref status after push with export
Also add check_output from python 2.7.
Signed-off-by: Sverre Rabbelier <srabbelier@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-remote-testgit.py')
-rw-r--r-- | git-remote-testgit.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/git-remote-testgit.py b/git-remote-testgit.py index af4d040353..0b5928d290 100644 --- a/git-remote-testgit.py +++ b/git-remote-testgit.py @@ -147,11 +147,15 @@ def do_export(repo, args): sys.stdout.flush() update_local_repo(repo) - repo.importer.do_import(repo.gitdir) + changed = repo.importer.do_import(repo.gitdir) if not repo.local: repo.non_local.push(repo.gitdir) + for ref in changed: + print "ok %s" % ref + print + COMMANDS = { 'capabilities': do_capabilities, |