Behaviour of git apply --directory
- From
- Andrew Berry <andrewberry@sentex.net>
- Date
- Aug 22, 2011, 15:21 UTC
- Message-ID
- <E21BC0F8-2DF0-44AB-B18A-013451CDB670@sentex.net>
Hi,
The behaviour of git apply --directory seems a little confusing. It looks to be dependent on the current directory, but I can't use relative paths to apply a patch in one directory to a sibling directory. Absolute paths don't work either. I'd expected the parameter to either be relative to the git repository root, or to expand relative directories.
Any thoughts?
--Andrew