| Name |
Last commit
|
Last update |
|---|---|---|
| bin | ||
| script | ||
| share/ruby-build | ||
| test | ||
| .travis.yml | ||
| LICENSE | ||
| README.md | ||
| install.sh |
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 |
|---|---|---|
| bin | Loading commit data... | |
| script | Loading commit data... | |
| share/ruby-build | Loading commit data... | |
| test | Loading commit data... | |
| .travis.yml | Loading commit data... | |
| LICENSE | Loading commit data... | |
| README.md | Loading commit data... | |
| install.sh | Loading commit data... |