Show More
@@ -727,8 +727,9 b' class gitsubrepo(abstractsubrepo):' | |||||
727 | raise util.Abort(_("revision %s does not exist in subrepo %s\n") % |
|
727 | raise util.Abort(_("revision %s does not exist in subrepo %s\n") % | |
728 | (revision, self._path)) |
|
728 | (revision, self._path)) | |
729 |
|
729 | |||
730 | def dirty(self): |
|
730 | def dirty(self, ignoreupdate=False): | |
731 |
|
|
731 | # version checked out changed? | |
|
732 | if not ignoreupdate and self._state[1] != self._gitstate(): | |||
732 | return True |
|
733 | return True | |
733 | # check for staged changes or modified files; ignore untracked files |
|
734 | # check for staged changes or modified files; ignore untracked files | |
734 | out, code = self._gitdir(['diff-index', '--quiet', 'HEAD']) |
|
735 | out, code = self._gitdir(['diff-index', '--quiet', 'HEAD']) |
General Comments 0
You need to be logged in to leave comments.
Login now