git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/2] Documentation: Allow @@GIT_VERSION@@ in asciidoc.conf

From
Junio C Hamano <junkio@cox.net>
Date
Mar 23, 2007, 21:53 UTC
Message-ID
<7vejnfpqx5.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<11746760451462-git-send-email-frank@lichtenheld.de>
Frank Lichtenheld <frank@lichtenheld.de> writes:
Show 14 quoted lines
> Rename asciidoc.conf to asciidoc.conf.in and create
> the former on build time after piping it through sed.
>
> This is useful to allow us to include the git version
> in the documentation.
>
> Signed-off-by: Frank Lichtenheld <frank@lichtenheld.de>
> ---
>  Documentation/Makefile         |   11 ++++++++---
>  Documentation/asciidoc.conf    |   39 ---------------------------------------
>  Documentation/asciidoc.conf.in |   39 +++++++++++++++++++++++++++++++++++++++
>  3 files changed, 47 insertions(+), 42 deletions(-)
>  delete mode 100644 Documentation/asciidoc.conf
>  create mode 100644 Documentation/asciidoc.conf.in
When sending a patch like this, please use "format-patch -M".

While this is attractive to some degree, *I* am grumpy. Doesn't this patch make html and man branches update all files _every_ time any small change is made to some documentation?

Previous: Frank LichtenheldNext: Frank Lichtenheld
Message 3 of 11 in “Documentation: Allow @@GIT_VERSION@@ in asciidoc.conf”
  1. 1/2 Documentation: Allow @@GIT_VERSION@@ in asciidoc.confFrank Lichtenheld, Mar 23, 2007
  2. 2/2 Documentation: Add version information to man pagesFrank Lichtenheld, Mar 23, 2007
  3. Junio C HamanoMar 23, 2007
  4. Frank LichtenheldMar 24, 2007
  5. Brian GernhardtMar 24, 2007
  6. Junio C HamanoMar 24, 2007
  7. 1/2 Documentation: Replace @@GIT_VERSION@@ in documentationFrank Lichtenheld, Mar 25, 2007
  8. 2/2 Documentation: Add version information to man pagesFrank Lichtenheld, Mar 25, 2007
  9. Junio C HamanoMar 27, 2007
  10. Junio C HamanoMar 26, 2007
  11. Junio C HamanoMar 26, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.