[PATCH] describe: Document --match pattern format
- From
Greg Price <price@mit.edu>
- Date
- Feb 25, 2013, 05:29 UTC
- Message-ID
- <20130225052900.GH5688@biohazard-cafe.mit.edu>
It's not clear in git-describe(1) what kind of "pattern" should be passed to --match. Fix that.
Signed-off-by: Greg Price <price@mit.edu> --- Documentation/git-describe.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-describe.txt b/Documentation/git-describe.txt index 72d6bb6..711040d 100644 --- a/Documentation/git-describe.txt +++ b/Documentation/git-describe.txt @@ -81,8 +81,9 @@ OPTIONS that points at object deadbee....). --match <pattern>:: - Only consider tags matching the given pattern (can be used to avoid - leaking private tags made from the repository). + Only consider tags matching the given `glob(7)` pattern, + excluding the "refs/tags/" prefix. This can be used to avoid + leaking private tags from the repository. --always:: Show uniquely abbreviated commit object as fallback.
-- 1.7.11.3