Commits

Matthew Scott  committed e516689

Fix for 'git pull' issue, using patch suggested in comments:
http://bitbucket.org/ianb/pip/issue/161/cant-git-pull-from-some-repositories

  • Participants
  • Parent commits 2abe82b

Comments (0)

Files changed (1)

File pip/vcs/git.py

             [self.cmd, 'checkout', '-q'] + rev_options, cwd=dest)
 
     def update(self, dest, rev_options):
-        call_subprocess([self.cmd, 'pull', '-q'], cwd=dest)
+        call_subprocess([self.cmd, 'fetch', '-q'], cwd=dest)
         call_subprocess(
             [self.cmd, 'checkout', '-q', '-f'] + rev_options, cwd=dest)