Junio C Hamano wrote: > Andreas Ericsson <ae@op5.se> writes: > > >>Somewhere in the alias handling git turned hostile on fat fingers: >> >> $ git showbranch >> Failed to run command '': Is a directory > > > Does not happen here (nor on Cygwin 1.4.1.rc1). Care to help > reproducing it? > Here's the complete procedure I used: $ git pull && make; # works ok $ make strip install; # works ok $ git showbranch Failed to run command '': Is a directory (confusion and puzzlement...) $ git checkout master; git reset --hard master; # works ok $ git pull; # gets nothing (I try stupid things first ;p) $ make clean install; # works ok $ git showbranch Failed to run command '': Is a directory $ git --version git version 1.4.1.rc1.g1ef9 It's reliably reproducible here. Notable though is that I have no .git/config in my git.git clone and no ~/.gitconfig (or ~/.gitrc or whatever), so the handle_alias() function never finds a config file to look for aliases in. Either way, removing the variable "char git_command[MAX_PATH + 1];" from git.c:main() is correct since it's never used for anything but printing the (erroneous) error message above. -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Wed Jun 28 18:14:27 2006
This archive was generated by hypermail 2.1.8 : 2006-06-28 18:14:51 EST