third_party/blink/tools/blinkpy/common/checkout/git.py
def has_working_directory_changes(self, pathspec=None):
        """Checks whether there are uncommitted changes."""
        command = ['diff', 'HEAD', '--no-renames', '--name-only']
        if pathspec:
            command.extend(['--', pathspec])
        return self.run(command) != ''
Checks whether there are uncommitted changes.
Checks whether there are uncommitted changes.
Checks whether there are uncommitted changes .
def has_working_directory_changes(self, pathspec=None):
        command = ['diff', 'HEAD', '--no-renames', '--name-only']
        if pathspec:
            command.extend(['--', pathspec])
        return self.run(command) != ''
def has_working_directory_changes ( self , pathspec = None ) : command = [ 'diff' , 'HEAD' , '--no-renames' , '--name-only' ] if pathspec : command . extend ( [ '--' , pathspec ] ) return self . run ( command ) != ''
Checks whether there are uncommitted changes.
Checks whether there are uncommitted changes .
"""Checks whether there are uncommitted changes."""
self
pathspec