Re:Show HN: 'git inject' – amend commits other than HEAD
by kazinator on Friday June 12, 2015 @02:38PM
(#9707745)
> so the variables can't pollute anything else
The variables can already exist in the environment. One of them is tested by a statement that is reachable without that variable being initialized in that script.
A fix that keeps the script POSIX would be to initialize the variable.
The other comments are 100% correct.