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

Re: [PATCH] Rename {git- => git}remote-helpers.txt

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 1, 2013, 05:37 UTC
Message-ID
<7v7gmsd26o.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20130201050343.GA29973@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> What was the original rationale for the "gitfoo" form? Was it just to
> visually distinguish command manpages from non-command manpages? I can't
> remember the origins now.

b27a23e (Documentation: convert tutorials to man pages, 2008-05-24) turns "tutorial.txt" into "gittutorial.txt". Before that, there were git{attributes,cli,ignore,hooks,modules}.txt. They were added in this order, which reveals the true reason:

    hooks.txt
    gitignore.txt
    gitmodules.txt
    gitcli.txt
    hooks.txt => githooks.txt
    gitatributes.txt

Originally, we did not intend to name them as "git$concept.txt"; instead, we just said "$concept.txt". Hooks are "hooks", and we know we are discussing hooks in the context of Git, there was no reason to say "githooks". "gitignore" was about the file format, and it would have been insane to call it "ignore.txt". The same applies to "gitmodules.txt".

Things start to go in a strange direction when "cli" was added. We know that is about the command line interface in the context of Git, and it should have been "cli.txt". To make things worse, later "hooks.txt" took an example of "gitcli.txt" in the wrong way at a5af0e2 (Documentation: rename "hooks.txt" to "githooks.txt" and make it a man page, 2008-05-02).

In other way, I think this wasn't designed, but organically grown.
Previous: Jeff KingNext: Jeff King
Message 18 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.