diff options
author | Michele Locati <michele@locati.it> | 2018-03-19 09:03:33 +0100 |
---|---|---|
committer | Michele Locati <michele@locati.it> | 2018-03-19 09:03:33 +0100 |
commit | 2e461dc3b94c98da70ec8e9833943e89aec11d2e (patch) | |
tree | 1ca345e50965e0334c20018596edc19301951a3d | |
parent | 0aa085a51d6faaae437a9f29c2b7380f00551bb5 (diff) | |
download | incremental-git-filter-branch-2e461dc3b94c98da70ec8e9833943e89aec11d2e.tar.gz incremental-git-filter-branch-2e461dc3b94c98da70ec8e9833943e89aec11d2e.tar.bz2 incremental-git-filter-branch-2e461dc3b94c98da70ec8e9833943e89aec11d2e.zip |
Fix and improve hints about regular expression usage
-rwxr-xr-x | bin/incremental-git-filterbranch | 3 |
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 } |