Преглед на файлове

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

Jelmer Vernooij преди 5 години
родител
ревизия
96404efcf8
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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)