diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-22 15:22:39 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-22 15:22:39 +0100 |
commit | 06bec1bcd1795192f4a4a274096f053afc8f80ec (patch) | |
tree | fda896da0f7406ff257b8f9d1d3805965bc94311 /git/test/test_docs.py | |
parent | b54b9399920375f0bab14ff8495c0ea3f5fa1c33 (diff) | |
download | gitpython-06bec1bcd1795192f4a4a274096f053afc8f80ec.tar.gz |
Fetch now deals with custom refspecs much better.
Even though the test-csae only verifies this spec:
+refs/pull/*:refs/heads/pull/*
I could locally verify that it indeed handles other ones just as well:
+refs/pull/*:refs/pull/*
Fixes #243
Diffstat (limited to 'git/test/test_docs.py')
-rw-r--r-- | git/test/test_docs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_docs.py b/git/test/test_docs.py index 25566243..397641e0 100644 --- a/git/test/test_docs.py +++ b/git/test/test_docs.py @@ -181,7 +181,7 @@ class Tutorials(TestBase): def test_references_and_objects(self, rw_dir): # [1-test_references_and_objects] import git - repo = git.Repo.clone_from(self._small_repo_url(), os.path.join(rw_dir, 'repo')) + repo = git.Repo.clone_from(self._small_repo_url(), os.path.join(rw_dir, 'repo'), branch='master') heads = repo.heads master = heads.master # lists can be accessed by name for convenience |