Skip to content
Snippets Groups Projects
Commit 9b708885 authored by Sean Farley's avatar Sean Farley
Browse files

git_handler: use our read_pkt_refs for fetch_pack

parent 31f52d62
No related branches found
No related tags found
No related merge requests found
......@@ -1160,6 +1160,10 @@
try:
progress = GitProgress(self.ui)
f = StringIO.StringIO()
# monkey patch dulwich's read_pkt_refs so that we can determine on
# clone which bookmark to activate
client.read_pkt_refs = compat.read_pkt_refs
ret = localclient.fetch_pack(path, determine_wants, graphwalker,
f.write, progress.progress)
if(f.pos != 0):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment