aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Locati <michele@locati.it>2018-03-19 09:03:33 +0100
committerMichele Locati <michele@locati.it>2018-03-19 09:03:33 +0100
commit2e461dc3b94c98da70ec8e9833943e89aec11d2e (patch)
tree1ca345e50965e0334c20018596edc19301951a3d
parent0aa085a51d6faaae437a9f29c2b7380f00551bb5 (diff)
downloadincremental-git-filter-branch-2e461dc3b94c98da70ec8e9833943e89aec11d2e.zip
incremental-git-filter-branch-2e461dc3b94c98da70ec8e9833943e89aec11d2e.tar.gz
incremental-git-filter-branch-2e461dc3b94c98da70ec8e9833943e89aec11d2e.tar.bz2
Fix and improve hints about regular expression usage
-rwxr-xr-xbin/incremental-git-filterbranch3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/incremental-git-filterbranch b/bin/incremental-git-filterbranch
index 00aec2c..cf9f871 100755
--- a/bin/incremental-git-filterbranch
+++ b/bin/incremental-git-filterbranch
@@ -98,7 +98,8 @@ destinationrepository
The URL or path to the destination repository.
You can prefix branch/tag names in both whitelists and blacklists with 'rx:': in this case a regular expression check will be performed.
-For instance: --branch-whitelist 'master rx:release\\/\\d+(\\.\\d+)*' will match 'master' and 'release/1.1'
+For instance: --branch-whitelist 'master rx:release\/[0-9]+(\.[0-9]+)*' will match 'master' and 'release/1.1'.
+Please remark that these regular expressions should comply the POSIX ERE (Extended Regular Expressions) syntax.
"
exit 0
}

© 2014-2020 Faster IT GmbH | imprint | privacy policy