diff options
author | Jeff King <peff@peff.net> | 2007-06-01 05:10:30 -0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-06-02 11:28:13 -0700 |
commit | 4159c5781303bb24d82be69b6a5de92d51d8d4f0 (patch) | |
tree | d707e3ef7a8683b5f00bfc8a1d8b00b366992c54 /Documentation/asciidoc.conf | |
parent | 8e29f903eb366b2d2e846dc35ec4510d2cb263ad (diff) | |
download | git-4159c5781303bb24d82be69b6a5de92d51d8d4f0.tar.gz git-4159c5781303bb24d82be69b6a5de92d51d8d4f0.tar.xz |
Documentation: robustify asciidoc GIT_VERSION replacement
Instead of using sed on the resulting file, we now have a
git_version asciidoc attribute. This means that we don't
pipe the output of asciidoc, which means we can detect build
failures.
Problem reported by Scott Lamb, solution suggested by Jonas Fonseca.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/asciidoc.conf')
-rw-r--r-- | Documentation/asciidoc.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/asciidoc.conf b/Documentation/asciidoc.conf index fa7dc9484..60e15ba34 100644 --- a/Documentation/asciidoc.conf +++ b/Documentation/asciidoc.conf @@ -40,7 +40,7 @@ template::[header-declarations] <refentrytitle>{mantitle}</refentrytitle> <manvolnum>{manvolnum}</manvolnum> <refmiscinfo class="source">Git</refmiscinfo> -<refmiscinfo class="version">@@GIT_VERSION@@</refmiscinfo> +<refmiscinfo class="version">{git_version}</refmiscinfo> <refmiscinfo class="manual">Git Manual</refmiscinfo> </refmeta> <refnamediv> |