Andreas Ericsson <ae@xxxxxx> writes: > Sergei Organov wrote: [...] >> To tell the truth, I'd prefer to just use -M option of man and don't >> rely on MANPATH at all, so that 'git help' will issue error if there is >> no documentation installed for this particular version of git. >> > > Does "man -M" work everywhere, or is your patch opening a can of worms > to get probably-not-needed functionality? This patch doesn't use "man -M", it tweaks MANPATH instead. Partly because the rest of 'git' tweaks 'PATH' to get correct executable to be run, and not run it using explicit absolute path, so tweaking MANPATH is consistent with the rest of git. -- Sergei. - 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