Re: Making git apply always work relative to current directory

2016-03-05 Thread brian m. carlson
On Sat, Mar 05, 2016 at 11:31:53AM -0800, Junio C Hamano wrote: > "brian m. carlson" writes: > > > If I run git apply --no-index --verbose , it succeeds in both > > cases, but when I'm in the git repository, it *silently does nothing*. > > That originally sounded

Re: Making git apply always work relative to current directory

2016-03-05 Thread Junio C Hamano
"brian m. carlson" writes: > If I run git apply --no-index --verbose , it succeeds in both > cases, but when I'm in the git repository, it *silently does nothing*. That originally sounded peculiar to me and I suspected it to be a bug, but it looks like a

Making git apply always work relative to current directory

2016-03-05 Thread brian m. carlson
I have a piece of software which must run out of a given directory. In development, this is a git repository, and in production it is not. I also have an ignored subdirectory where I would like to use git apply to apply patches (in both environments). If I run git apply --no-index --verbose ,