Use of tac in git-rebase--interactive
- From
Brian Gernhardt <benji@silverinsanity.com>
- Date
- Apr 27, 2008, 06:24 UTC
- Message-ID
- <8D73338C-4EC3-4078-8A34-51DAC1842C2B@silverinsanity.com>
Commit d481bcc9: "Do rebase with preserve merges with advanced TODO list" uses the command tac, apparently to reverse the TODO command list. (I don't use rebase -i much, if you can't tell.)
The problem is that tac doesn't exist on my OS X system. I do appear to have a rev command which does the same thing. Simply posting a patch that does 472s/tac/rev/ would fix the problem on my system, but the fact that this is an issue raises the question of the relative portability of the two commands. I don't think we have a declared dependancy on GNU's coreutils, which is where Debian lists tac as coming from.
~~ Brian