git-sizer icon indicating copy to clipboard operation
git-sizer copied to clipboard

Add new convenience options like `--no-branches`, `--stash`, etc.

Open mhagger opened this issue 3 years ago • 1 comments

All of the following can be accomplished using reference filtering (#75), but we could add new options to make them a tad more convenient (and these options would nicely complement --branches, --tags, and --remotes):

  • --no-branches — equivalent to --exclude=refs/heads
  • --no-tags — equivalent to --exclude=refs/tags
  • --no-remotes — equivalent to --exclude=refs/remotes
  • --notes / --no-notes — equivalent to --include=refs/notes / --exclude=refs/notes
  • --stash / --no-stash — equivalent to --include=refs/stash / --exclude=refs/stash

mhagger avatar Apr 23 '21 12:04 mhagger