Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-wrapper: fix interpolation with short values
To be precise: when the value of the environment variable is shorter than its name, we have to move the remaining bytes *after* expanding the environment variable: we would look for the wrong name otherwise. When the value is longer than the name, we still need to move the bytes out of the way first, to avoid overwriting them with the interpolated text. This fixes #509 Signed-off-by: Johannes Schindelin <[email protected]>
- Loading branch information