[PATCH] user-manual: Use def_ instead of ref_ for glossary references.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <junkio@...>
Cc: <git@...>, J. Bruce Fields <bfields@...>
Date: Sunday, March 18, 2007 - 11:17 pm

From: J. Bruce Fields <bfields@citi.umich.edu>

I'd like to start using references to the glossary in the user manual.
The "ref_" prefix for these references seems a little generic; so
replace with "def_".

Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
---
 Documentation/sort_glossary.pl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/sort_glossary.pl b/Documentation/sort_glossary.pl
index 05dc7b2..4ae6290 100644
--- a/Documentation/sort_glossary.pl
+++ b/Documentation/sort_glossary.pl
@@ -50,8 +50,8 @@ This list is sorted alphabetically:
 @keys=sort {uc($a) cmp uc($b)} keys %terms;
 $pattern='(\b(?<!link:git-)'.join('\b|\b(?<!-)',reverse @keys).'\b)';
 foreach $key (@keys) {
-	$terms{$key}=~s/$pattern/sprintf "<<ref_".no_spaces($1).",$1>>";/eg;
-	print '[[ref_'.no_spaces($key).']]'.$key."::\n"
+	$terms{$key}=~s/$pattern/sprintf "<<def_".no_spaces($1).",$1>>";/eg;
+	print '[[def_'.no_spaces($key).']]'.$key."::\n"
 		.format_tab_80($terms{$key})."\n";
 }
 
-- 
1.5.0.3.31.ge47c

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
glossary and user-manual updates, J. Bruce Fields, (Sun Mar 18, 11:17 pm)
[PATCH] user-manual: run xsltproc without --nonet option, J. Bruce Fields, (Sun Mar 18, 11:17 pm)
[PATCH] user-manual.txt: fix a tiny typo., J. Bruce Fields, (Sun Mar 18, 11:17 pm)
[PATCH] user-manual: Use def_ instead of ref_ for glossary r..., J. Bruce Fields, (Sun Mar 18, 11:17 pm)
[PATCH] glossary: stop generating automatically, J. Bruce Fields, (Sun Mar 18, 11:17 pm)
Re: [PATCH] glossary: stop generating automatically, Johannes Schindelin, (Mon Mar 19, 9:50 am)
Re: [PATCH] glossary: stop generating automatically, Junio C Hamano, (Mon Mar 19, 12:32 am)
Re: [PATCH] glossary: stop generating automatically, Johannes Schindelin, (Mon Mar 19, 9:56 am)