projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
builtin-grep: -F (--fixed-strings)
[git.git]
/
Documentation
/
howto-index.sh
diff --git
a/Documentation/howto-index.sh
b/Documentation/howto-index.sh
index
f9d3e57
..
34aa30c
100755
(executable)
--- a/
Documentation/howto-index.sh
+++ b/
Documentation/howto-index.sh
@@
-41,7
+41,14
@@
do
q
}' "$txt"`
- echo "* link:$txt[$title] $from
+ if grep 'Content-type: text/asciidoc' >/dev/null $txt
+ then
+ file=`expr "$txt" : '\(.*\)\.txt$'`.html
+ else
+ file="$txt"
+ fi
+
+ echo "* link:$file[$title] $from
$abstract
"