Closed voltur01 closed 3 months ago
Why does this need to construct a absolute path rather than using a relative path?
ie. using
pwd\`/../patches/llvm-project/*.patch
Instead of the more standard
../patches/llvm-project/*.patch
which should do the same thing?
That part makes sense to me. It's because the overall command is using git -C
, meaning "change to some other directory before running the git command". So the relative path ../foo
would be interpreted relative to the cwd after git changes dir. But we want a path relative to where we are before git changes dir.
Ahhh thank you @statham-arm, that makes sense
Fixes https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm/issues/404