From: Johannes Schindelin Date: Sun, 21 Oct 2007 22:25:29 GMT Subject: Re: [PATCH] "git help -a" should search all exec_paths and PATH Message-ID: In-Reply-To: <20071021214846.GI16291@srparish.net> Hi, On Sun, 21 Oct 2007, Scott R Parish wrote: > Currently "git help -a" only searches in the highest priority exec_path, > meaning at worst, nothing is listed if the git commands are only > available from the PATH. It also makes git slightly less extensible. > > To fix this, help.c is modified to search in all the exec_paths and PATH > for potential git commands. With this explanation, I would have expected that you add a loop just like in exec-cmd.c. Not anything more. And certainly not the removal of a sanity check for the length of the path name. Ciao, Dscho