| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| fixtures | ||
| stubs | ||
| tmp | ||
| build.bats | ||
| cache.bats | ||
| checksum.bats | ||
| fetch.bats | ||
| hooks.bats | ||
| installer.bats | ||
| mirror.bats | ||
| test_helper.bash |
Filenames in git diff patches are prefixed by default by "a/" (source)
and "b/" destination. Such patches don't work with ruby-builds `--patch`
option since it internally uses `patch -p0`.
Prior workarounds were to use either an intermediate step:
filterdiff --strip=1
or to generate the patch without the prefix in the first place:
git diff --no-prefix ...
Now, git diff patches are detected by searching for this pattern:
diff --git a/...
And `patch -p1` is used by default in such cases to strip the 1st
component of filename paths.
Fixes #521, closes #484
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| fixtures | Loading commit data... | |
| stubs | Loading commit data... | |
| tmp | Loading commit data... | |
| build.bats | Loading commit data... | |
| cache.bats | Loading commit data... | |
| checksum.bats | Loading commit data... | |
| fetch.bats | Loading commit data... | |
| hooks.bats | Loading commit data... | |
| installer.bats | Loading commit data... | |
| mirror.bats | Loading commit data... | |
| test_helper.bash | Loading commit data... |