Skip to content

Commit

Permalink
Reword to-subdirectory-filter help
Browse files Browse the repository at this point in the history
"Treat the project root as instead being under" => "Treat the project
root as if it were under"

Signed-off-by: Aaron Cooper <[email protected]>
  • Loading branch information
aaron-cooper committed Oct 10, 2024
1 parent 619050d commit c688150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Documentation/git-filter-repo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Path shortcuts
`--path <directory>/ --path-rename <directory>/:`

--to-subdirectory-filter <directory>::
Treat the project root as instead being under
Treat the project root as if it were under
<directory>. Equivalent to using `--path-rename :<directory>/`

Content editing filters (see also --blob-callback)
Expand Down
2 changes: 1 addition & 1 deletion git-filter-repo
Original file line number Diff line number Diff line change
Expand Up @@ -1847,7 +1847,7 @@ EXAMPLES
"to using '--path DIRECTORY/ --path-rename DIRECTORY/:'"))
helpers.add_argument('--to-subdirectory-filter', metavar='DIRECTORY',
action=FilteringOptions.HelperFilter, type=os.fsencode,
help=_("Treat the project root as instead being under DIRECTORY. "
help=_("Treat the project root as if it were under DIRECTORY. "
"Equivalent to using '--path-rename :DIRECTORY/'"))

contents = parser.add_argument_group(title=_("Content editing filters "
Expand Down

0 comments on commit c688150

Please sign in to comment.