Add some more reference selection options. The same functionality could be achieved using the existing options, but it's more convenient to have these dedicated options as shorthand:
--no-branches, --no-tags, --no-remotes — the opposite of the existing branches, --tags, and --remotes options.
--notes and --no-notes — include or exclude refs/notes/*.
--stash and --no-stash — include or exclude refs/stash.
Add tests to cover the new options, driven by a grid of expected results.
/cc @chrisd8088 or @larsxschneider as possible reviewers.
Add some more reference selection options. The same functionality could be achieved using the existing options, but it's more convenient to have these dedicated options as shorthand:
--no-branches
,--no-tags
,--no-remotes
— the opposite of the existingbranches
,--tags
, and--remotes
options.--notes
and--no-notes
— include or excluderefs/notes/*
.--stash
and--no-stash
— include or excluderefs/stash
.Add tests to cover the new options, driven by a grid of expected results.
/cc @chrisd8088 or @larsxschneider as possible reviewers.