Git aliases executed from wrong dir
- From
Kevin Ballard <kevin@sb.org>
- Date
- Jun 25, 2008, 23:44 UTC
- Message-ID
- <9777229F-27FD-4CB2-A5C7-6CA15733B8D2@sb.org>
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.
-- Kevin Ballard http://kevin.sb.org kevin@sb.org http://www.tildesoft.com