Code

Teach lookup_prog not to select directories
authorEric Raible <raible@gmail.com>
Fri, 18 Jul 2008 07:34:42 +0000 (09:34 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 19 Jul 2008 18:17:43 +0000 (11:17 -0700)
commitfe77b6959c47e1eaec0c96599b2c5ce7907707ec
treee647949bbae2dc891ce7d500cc3f760228cb5b6d
parent42f7a2dae8dfb858cce4a685e8e8506d77cbd1cb
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.c