Mike Hommey <mh@xxxxxxxxxxxx> writes: > On Tue, Aug 28, 2007 at 09:12:07AM -0500, Bill Lear <rael@xxxxxxxxxx> wrote: >> My co-worker is visually impaired, and he uses a custom emacs. His >> EDITOR is set to something like "~/bin/xemacs -nw". When git-commit >> runs, it complains: >> >> % git-commit >> git-commit: line 582: ~/bin/xemacs -nw: No such file or directory >> >> So, I fiddled with the following line in git-commit: >> >> ${VISUAL:-${EDITOR:-vi}} "$GIT_DIR/COMMIT_EDITMSG" > > I don't see how this line could trigger an error like the one you get. > > Your error message doesn't tell you it doesn't expand the tilde, it tells > you it uses the whole string ! It is looking for a "xemacs -nw" file under > $HOME/bin, which obviously doesn't exist. > > Now, theorically, this should not happen unless you quote the whole > variable substitution thing. > > What is your co-worker's shell ? In any case, should be addressed with commit 08874658b450600e72bb7cb0d0747c1ec4b0bfe1 from the first of August. -- David Kastrup - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html