def is_prune(self):
        """
        Return True, if `git fetch --prune` is allowed.

        Because of possible incompatibilities, this requires special
        treatment.
        """
        required_version = "1.6.6"
        config_value = self.settings['fetch.prune']

        if self.git.is_version_min(required_version):
            return config_value is not False
        else:  # pragma: no cover
            if config_value == 'true':
                print(colored(
                    "Warning: fetch.prune is set to 'true' but your git"
                    "version doesn't seem to support it ({0} < {1})."
                    "Defaulting to 'false'.".format(self.git.version,
                                                    required_version),
                    'yellow'
                ))
def is_prune ( self ) : required_version = "1.6.6" config_value = self . settings [ 'fetch.prune' ] if self . git . is_version_min ( required_version ) : return config_value is not False else : if config_value == 'true' : print ( colored ( "Warning: fetch.prune is set to 'true' but your git" "version doesn't seem to support it ({0} < {1})." "Defaulting to 'false'." . format ( self . git . version , required_version ) , 'yellow' ) )
Return True, if `git fetch --prune` is allowed.

        Because of possible incompatibilities, this requires special
        treatment.