Skip to content

Commit

Permalink
args: allow to use multiple --refs arguments
Browse files Browse the repository at this point in the history
Example: `git filter-repo --refs head1 --refs head2`
  • Loading branch information
nslsrv committed Dec 13, 2023
1 parent 4bc9022 commit b4f1924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-filter-repo
Original file line number Diff line number Diff line change
Expand Up @@ -1990,7 +1990,7 @@ EXAMPLES
# commit has an excluded ancestor as a parent we have no way of
# knowing what it is an ancestor of without doing a special
# full-graph walk.
misc.add_argument('--refs', nargs='+',
misc.add_argument('--refs', action='append',
help=_("Limit history rewriting to the specified refs. Implies "
"--partial. In addition to the normal caveats of --partial "
"(mixing old and new history, no automatic remapping of "
Expand Down

0 comments on commit b4f1924

Please sign in to comment.