On Wed, Jun 25, 2008 at 04:44:49PM -0700, Kevin Ballard wrote: > If I create an alias with `git config alias.foo '!pwd'` and then run it > from a subdirectory of my repo, it prints out the root of my repo. This > prevents the ability to create aliases that take filenames, as they > simply won't work if you try and reference a file from a subdirectory. Got bitten by the same problem. I have an alias for the git-new-workdir script and I'm tracking some config files in my home directory, but also have a bunch of Git repositories in subdirectories. A "cd ..; git new-workdir old new" in one of these tells me that "old" doesn't exist (because it doesn't exist in my home dir which the alias ends up being invoked from) while a "git new-workdir . ../new" works as expected. -- 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