Skip to content

Commit

Permalink
Use the updated is_dirty API
Browse files Browse the repository at this point in the history
The pull request gitpython-developers/GitPython#294 has been merged but the API
was changed slighty. This commit reflects this change so that it works again.
  • Loading branch information
Javex committed Jun 11, 2015
1 parent 6e2129d commit 46b0bd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyGitUp/git_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def stash(self):
"""
stashed = False

if self.repo.is_dirty(consider_submodules=False):
if self.repo.is_dirty(submodules=False):
if self.change_count > 1:
message = 'stashing {0} changes'
else:
Expand Down

0 comments on commit 46b0bd3

Please sign in to comment.