Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign uprepo.is_dirty() is not working with a pathspec #1061
Closed
Labels
Milestone
Comments
Thanks for taking a look and offering up a solution. It looks like the corresponding change would have to be done here, and a PR would be very welcome. Thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using a pathspec like ':!foo' as argument to
repo.is_dirty()
will result in :The code should be adding a
--
before the path to avoid any ambiguity. For instance, like that: