Skip to content

Commit 46b0bd3

Browse files
committed
Use the updated is_dirty API
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.
1 parent 6e2129d commit 46b0bd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PyGitUp/git_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def stash(self):
134134
"""
135135
stashed = False
136136

137-
if self.repo.is_dirty(consider_submodules=False):
137+
if self.repo.is_dirty(submodules=False):
138138
if self.change_count > 1:
139139
message = 'stashing {0} changes'
140140
else:

0 commit comments

Comments
 (0)