transport-helper: update ref status after push with export
[gitweb.git] / git-remote-testgit.py
index af4d0403536137ae3b203b06a9294fa5661bd179..0b5928d29067f4d0306ab7b8f6a20c1711e47063 100644 (file)
@@ -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,