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
Jan 31, 2013, 23:11 UTC
Message-ID
<7vhalxdk2q.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20130131230455.GN27340@google.com>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 14 quoted lines
> Jeff King wrote:
>
>> Maybe it is just me, but the fact that accessing the manpage is now:
>>
>>   man gitremote-helpers
>>
>> feels weird to me. I know it technically follows our syntactic rules,
>> but having the lack of dash be significant between "git" and "remote",
>> but then having a dash later makes it hard on the eyes.
>
> Yes.  I have thought for years that it should be git-remote-helpers,
> that "git help" should be tweaked to look for that, and that the
> existing gitrepository-layout and friends should be replaced with
> redirects.

Because of the "git help" look up rules, we cannot have two pages that only differ at the dash (or absense of it) immediately after 'git'; e.g. one about the concept of 'frotz' in the context of Git, i.e. "man gitfrotz", and the other about the subcommand to perform 'frotz', i.e. "man git-frotz". The way to refer to these two pages are both "git help frotz".

The simplest way forward may be to teach "git help" to try both paths? But some people configure "git help -w" to refer to remote site, so it won't be access(path, F_OK). Sigh...

Previous: Jonathan NiederNext: Jonathan Nieder
Message 15 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.