Thread (24 messages) flat view 24 messages, 9 authors, 2016-08-26

Re: [PATCH 1/2] help: introduce option --command-only

From: Johannes Schindelin <hidden>
Date: 2016-08-24 07:48:36

Possibly related (same subject, not in this thread)

Hi Ralf,

On Tue, 23 Aug 2016, Ralf Thielow wrote:
2016-08-19 10:32 GMT+02:00 Johannes Schindelin [off-list ref]:
quoted
So how about fixing that? I would suggest to do it this way:

- configure help.format = html (for "man", the current code would always
  add $(prefix)/share/man to the MANPATH when testing, not what we want,
  and hacking this code *just* for testing is both ugly and unnecessary).

- configure help.htmlpath to point to a subdirectory that is created and
  populated in the same test script.

- configure help.browser to point to a script that is created in the same
  script and whose output we can verify, too.

The last point actually requires a patch that was recently introduced into
Git for Windows [*1*] (and that did not make it upstream yet) which
reverts that change whereby web--browse was sidestepped. That sidestepping
was well-intentioned but turned out to cause more harm than good.
So I'll pickup the patch you sent [1] to my series and prepare the test cases
the way you described to verify that the 'help' command works.
Thanks!

Ciao,
Johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help