Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
msiemens committed Mar 23, 2014
2 parents 8895c71 + 6f43edd commit aea2134
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions PyGitUp/gitup.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,9 @@ def fetch(self):
else:
fetch_args.append(self.remotes)

if fetch_args == ['.']:
if fetch_args[-1] == ['.']:
# Only local target branches, `git fetch --multiple` will fail
return
elif '.' in fetch_args[-1]:
fetch_args[-1].remove('.')

try:
self.git.fetch(tostdout=True, *fetch_args, **fetch_kwargs)
Expand Down

0 comments on commit aea2134

Please sign in to comment.