Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run git apply from the directory being patched (olofk#346)
* Run git apply from the directory being patched Git 2.3.3 introduced a check to prevent git apply from modifying files outside the current working directory. FuseSoC's usage of --directory requires disabling this check with --unsafe-paths in newer versions of git. Older versions of git, including git 1.8.3 shipped with RHEL 7, don't perform the check or support the --unsafe-paths option. Therefore using --directory in this manner would require a git version check and setting the git apply options based on the result. The simpler option is just running git apply from the directory being patched, especially since this is already supported by the Launcher class.
- Loading branch information