From c68815066d0d22dadb6ad3601e64c7593f58b812 Mon Sep 17 00:00:00 2001 From: Aaron Cooper Date: Thu, 10 Oct 2024 16:08:13 -0400 Subject: [PATCH] Reword to-subdirectory-filter help "Treat the project root as instead being under" => "Treat the project root as if it were under" Signed-off-by: Aaron Cooper --- Documentation/git-filter-repo.txt | 2 +- git-filter-repo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/git-filter-repo.txt b/Documentation/git-filter-repo.txt index b3c9726b..604b2d78 100644 --- a/Documentation/git-filter-repo.txt +++ b/Documentation/git-filter-repo.txt @@ -156,7 +156,7 @@ Path shortcuts `--path / --path-rename /:` --to-subdirectory-filter :: - Treat the project root as instead being under + Treat the project root as if it were under . Equivalent to using `--path-rename :/` Content editing filters (see also --blob-callback) diff --git a/git-filter-repo b/git-filter-repo index b3f3fec6..8fc8c1e0 100755 --- a/git-filter-repo +++ b/git-filter-repo @@ -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 "