Dulwich.io dulwich / 4513d94
Fix exit code for check-ignore. Jelmer Vernooij 2 years ago
2 changed file(s) with 4 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3131
3232 * Add basic support for reading ignore files in ``dulwich.ignore``.
3333 ``dulwich.porcelain.add`` and ``dulwich.porcelain.status`` now honor
34 ignores. (Jelmer Vernooij, Segev Finer, #524)
34 ignores. (Jelmer Vernooij, Segev Finer, #524, #526)
3535
3636 * New ``dulwich.porcelain.check_ignore`` command.
3737 (Jelmer Vernooij)
511511 def run(self, args):
512512 parser = optparse.OptionParser()
513513 options, args = parser.parse_args(args)
514 ret = 1
514515 for path in porcelain.check_ignore('.', args):
515516 print(path)
517 ret = 0
518 return ret
516519
517520
518521 class cmd_help(Command):