git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git-for-each-ref.txt: fix description of <pattern>
@ 2008-06-05 11:19 Lea Wiemann
  2008-06-05 13:38 ` [PATCH v2] git-for-each-ref.txt: minor improvements Lea Wiemann
  0 siblings, 1 reply; 6+ messages in thread
From: Lea Wiemann @ 2008-06-05 11:19 UTC (permalink / raw)
  To: git; +Cc: Lea Wiemann

git-for-each-ref supports not only glob patterns but also prefixes
like "refs/heads" as patterns.  This documents it.

Signed-off-by: Lea Wiemann <LeWiemann@gmail.com>
---
 Documentation/git-for-each-ref.txt |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/git-for-each-ref.txt b/Documentation/git-for-each-ref.txt
index f1f90cc..a9633c6 100644
--- a/Documentation/git-for-each-ref.txt
+++ b/Documentation/git-for-each-ref.txt
@@ -48,9 +48,9 @@ OPTIONS
 	`%09` to `\t` (TAB) and `%0a` to `\n` (LF).
 
 <pattern>::
-	If given, the name of the ref is matched against this
-	using fnmatch(3).  Refs that do not match the pattern
-	are not shown.
+	If given, only refs are shown that match againt the pattern
+	either using fnmatch(3) or literally, in the latter case up to
+	a slash or entirely.
 
 --shell, --perl, --python, --tcl::
 	If given, strings that substitute `%(fieldname)`
-- 
1.5.6.rc1.9.g69bbf.dirty

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-06-05 21:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-05 11:19 [PATCH] git-for-each-ref.txt: fix description of <pattern> Lea Wiemann
2008-06-05 13:38 ` [PATCH v2] git-for-each-ref.txt: minor improvements Lea Wiemann
2008-06-05 18:40   ` [PATCH v3] " Lea Wiemann
2008-06-05 18:58     ` Junio C Hamano
2008-06-05 20:54       ` [PATCH] git-for-each-ref.txt: minor fixes Lea Wiemann
2008-06-05 21:01         ` [PATCH v5] git-for-each-ref.txt: minor improvements Lea Wiemann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).