On Aug 11, 2007, at 11:43 PM, Junio C Hamano wrote:
Steffen Prohaska <prohaska@xxxxxx> writes:
Junio,
are you interested in such patches at this time. The patch doesn't
interfere with the existing code, but clutters it with ifdefs.
Actually "showing HTML pages upon 'git help' request" makes
sense even on Unixen. I think a patch to help.c::cmd_help()
that allows the user to specify alternate action before going to
the codepath to call show_man_page(help_cmd) would make sense,
like the attached patch.
So the custom command needs to have the knowledge how to find
the page (as 'man' has), based on the string 'git-<command>'.
Makes sense to me to build only the generic mechanism into
help.c and delegate the rest to core.helpcmd.
Having said that, a patch that makes the build procedure depend
on the presense of the html branch is unacceptable, as that
branch does not even exist in my private build repository.
Sure, the build procedure doesn't depend on it. The executable
wouldn't do anything useful if no html is present.
If you are building html pages from the source, it surely would
make sense.
I'd prefer to fetch pages from your repo, at least for msysgit.
Building them requires tools that are, to my knowledge, not
present in msysgit.
Steffen
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html