logoalt Hacker News

teddyhtoday at 12:57 PM1 replyview on HN

That seems unsafe. It assumes that the editor is started via a shell command, and not executed directly. But there is no actual binary /usr/bin/: but there is a /usr/bin/true; I would use that instead.


Replies

jeremyjhtoday at 1:52 PM

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.

show 1 reply