Ver código fonte

Allow passing in a repository location to dulwich.porcelain.merge().

Jelmer Vernooij 5 anos atrás
pai
commit
96404efcf8
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      dulwich/porcelain.py

+ 1 - 1
dulwich/porcelain.py

@@ -1903,4 +1903,4 @@ def merge_base(repo, committishs):
     with open_repo_closing(repo) as r:
         commits = [parse_commit(r, committish).id
                    for committish in committishs]
-        return find_merge_base(repo, commits)
+        return find_merge_base(r, commits)