Teach lookup_prog not to select directories
commit2d556c22398cc4b76edce448a8f24239eb0e8631
authorEric Raible <raible@gmail.com>
Thu, 26 Jun 2008 22:04:47 +0000 (26 22:04 +0000)
committerJohannes Sixt <johannes.sixt@telecom.at>
Fri, 4 Jul 2008 06:56:35 +0000 (4 08:56 +0200)
tree85db687d1c2432a6e8c5093c27fbc464150f503b
parent0db27e2da6591e48fb1dee55e90bbcc844a1d6c4
Teach lookup_prog not to select directories

Without this simple fix "git gui" in the git source directory
finds the git-gui directory instead of the tcl script in /usr/bin.

Signed-off-by: Eric Raible <raible@gmail.com>
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
compat/mingw.c