Re: Feature or a bug: git aliases are executed in git-root directory
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Apr 14, 2010, 13:10 UTC
- Message-ID
- <g2hfabb9a1e1004140610mdd7b093arb15758ba40fd7956@mail.gmail.com>
- In-Reply-To
- <4BC5A483.6060206@plusserver.de>
Heya,
On Wed, Apr 14, 2010 at 13:18, Jens Otten <j.otten@plusserver.de> wrote:
> is there a way to solve this problem?
Yes, put this script in your path (and make it executable):
cat > git-meld << EOF #!/bin/sh
GIT_EXTERNAL_DIFF='git-diff-to-meld-redirect' git diff "$@" EOF
-- Cheers, Sverre Rabbelier