Re: [PATCH 3/3] git --help COMMAND brings up the git-COMMAND man-page.
From: Andreas Ericsson <hidden> Date: 2016-06-15 22:42:12
Junio C Hamano wrote:
quoted
+
+ execlp(PATH_TO_MAN, "man", page, NULL);
+}
If you do PATH_TO_MAN absolute, execl would suffice, but just
saying "man" and have execlp look for it would be easier to
manage.
Never even occurred to me, actually. I just re-submitted the patch.
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231