logoalt Hacker News

jeremyjhyesterday at 1:52 PM1 replyview on HN

It assumes git works the way that git works, and that git will not break backwards compatibility in the future. I think the same can be said of any alias in git.


Replies

teddyhyesterday at 5:40 PM

The question is, is this behavior documented to run the command in a subshell? If it’s only documented to split on spaces and expand environment variables, the git command could change the implementation at any time.