Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use correct IFS store/restore mechanism (#306)
The previous implementation had the problem that if IFS was not set before, it was set to an empty string after restoring, which is not the same as being unset. This broke grc / git forgit revert_commit, since "git revert" was being interpreted as the command name instead of command and argument. The correct way is to check whether IFS is unset and, if so, unset it again afterwards. See for reference: https://unix.stackexchange.com/a/264947/317320
- Loading branch information