On 12 August 2013 22:39, Jeff King <p...@peff.net> wrote:
> We could do something like the patch below, which allows:
>   $ git config --global include./magic/.path .gitconfig-magic
> to read ~/.gitconfig-magic only when we are in a repository with a
> directory component "/magic/".

Thanks, this looks great! I'll have a play with it tomorrow.

Would locally configured config options override this one? From a
quick read of the patch there doesn't look like there is a way of
turning this off for a specific repository, but perhaps that is
unnecessary. I think after a bit of use the edge cases will be a bit

Again thanks, this will scratch an itch I didn't even realise I had.


Andrew Ardill
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to