Browse Source

No such thing as RefsContainer.get.

Jelmer Vernooij 2 years ago
parent
commit
38a2dcb82c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dulwich/porcelain.py

+ 1 - 1
dulwich/porcelain.py

@@ -1141,7 +1141,7 @@ def pull(
         for (lh, rh, force_ref) in selected_refs:
             if not force_ref and rh in r.refs:
                 try:
-                    check_diverged(r, r.refs.get(rh), fetch_result.refs[lh])
+                    check_diverged(r, r.refs.follow(rh)[1], fetch_result.refs[lh])
                 except DivergedBranches:
                     if fast_forward:
                         raise