> > It works fine interactively if I login via ssh, and finds git-upload-
> > pack if typed at the command line.
>
> So why not try
>
> $ ssh <host> 'echo $PATH'
>
Good idea! Though the result only proves what I suspected...that non-
interactive ssh is ignoring .bashrc. It prints:
/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
If you can shed light on that issue it would be fantastic, but of
course I know this is no msysgit bug! Somewhere either I or ~/.ssh/*
or /etc/ssh/* are screwed up. After digging through workarounds, I am
curious if not having "PermitUserEnvironment yes" in the global config
is blocking ssh's ability to modify paths. Unfortunately, I don't
have admin access to the machine so I'm limited in what I can test and
fix here on 4th of July weekend... :(
Which is why the point I was bringing up was that an override of Git's
defaults with an explicit path to the commands would be helpful. It's
how I got Mercurial working, under the same constraint. It seemed
like --upload-pack was for that purpose...but it doesn't seem to work.
Thanks again for the quick response,
---
http://hostilefork.com