summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2007-03-18 00:40:13 (GMT)
committerJ. Bruce Fields <bfields@citi.umich.edu>2007-03-19 01:53:50 (GMT)
commit06e7ea37875e4ee4a0ada701d52e2466f344c0f3 (patch)
tree218d1b4849b2489762879a3979277212450eba26 /Documentation
parent21f13ee203b0dfe5bd9fdd18897cc11343f09ef7 (diff)
downloadgit-06e7ea37875e4ee4a0ada701d52e2466f344c0f3.zip
git-06e7ea37875e4ee4a0ada701d52e2466f344c0f3.tar.gz
git-06e7ea37875e4ee4a0ada701d52e2466f344c0f3.tar.bz2
user-manual: Use def_ instead of ref_ for glossary references.
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/sort_glossary.pl4
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";
}