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

Re: [PATCH 1/2] Documentation/Makefile: clean up MAN*_TXT lists

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Feb 1, 2013, 19:20 UTC
Message-ID
<20130201192010.GA12368@google.com>
In-Reply-To
<20130201082650.GA25783@sigill.intra.peff.net>
Jeff King wrote:
> We keep a list of the various files that end up as man1,
> man5, etc. Let's break these single-line lists into sorted
> multi-line lists, which makes diffs that touch them much
> easier to read.

Independentally of the rest of the series, I think this is a good cleanup.

Show 11 quoted lines
> --- a/Documentation/Makefile
> +++ b/Documentation/Makefile
> @@ -1,13 +1,28 @@ MAN7_TXT += gitcredentials.txt
> -MAN1_TXT= \
> -	$(filter-out $(addsuffix .txt, $(ARTICLES) $(SP_ARTICLES)), \
> -		$(wildcard git-*.txt)) \
> -	gitk.txt gitweb.txt git.txt
> +MAN1_TXT += git.txt
> +MAN1_TXT += gitk.txt
> +MAN1_TXT += gitweb.txt
> +

If the user happens to have MAN[157]_TXT set in the environment, this would be affected by that. How about:

	# Guard against environment variables
	MAN1_TXT =
	MAN5_TXT =
	MAN7_TXT =
	
	MAN1_TXT += ...
	...
?
With that change,
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Previous: Jeff KingNext: Junio C Hamano
Message 22 of 32 in “git-remote-helpers.txt: should it be gitremote-helpers.txt?”
  1. John KeepingJan 30, 2013
  2. Junio C HamanoJan 30, 2013
  3. gitremote-helpers.txt: rename from git-remote-helpers.txtJohn Keeping, Jan 31, 2013
  4. Matthieu MoyJan 31, 2013
  5. Junio C HamanoJan 31, 2013
  6. Rename {git- => git}remote-helpers.txtJohn Keeping, Jan 31, 2013
  7. Junio C HamanoJan 31, 2013
  8. John KeepingJan 31, 2013
  9. Junio C HamanoJan 31, 2013
  10. John KeepingJan 31, 2013
  11. Junio C HamanoJan 31, 2013
  12. Jeff KingJan 31, 2013
  13. Junio C HamanoJan 31, 2013
  14. Jonathan NiederJan 31, 2013
  15. Junio C HamanoJan 31, 2013
  16. Jonathan NiederJan 31, 2013
  17. Jeff KingFeb 1, 2013
  18. Junio C HamanoFeb 1, 2013
  19. Jeff KingFeb 1, 2013
  20. Jeff KingFeb 1, 2013
  21. 1/2 Documentation/Makefile: clean up MAN*_TXT listsJeff King, Feb 1, 2013
  22. Jonathan NiederFeb 1, 2013
  23. Junio C HamanoFeb 1, 2013
  24. Jeff KingFeb 1, 2013
  25. Jeff KingFeb 1, 2013
  26. 2/2 docs: convert "concept" manpages to git-*Jeff King, Feb 1, 2013
  27. Jonathan NiederFeb 1, 2013
  28. Junio C HamanoFeb 1, 2013
  29. Jeff KingFeb 1, 2013
  30. Junio C HamanoFeb 1, 2013
  31. Tomas CarneckyJan 31, 2013
  32. Junio C HamanoJan 31, 2013

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.