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`

Signed-off-by: Nikita Sliusarev <[email protected]>
  • Loading branch information
nslsrv committed Dec 13, 2023
1 parent 4bc9022 commit 92a83a1
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 92a83a1

Please sign in to comment.