Closed brnrd closed 8 years ago
Hi @brnrd, cheers for pointing this out!
I'm finally breathing some life into this project again, and plan to do many improvements. The https://github.com/dreamyguy/gitlogg/tree/v0.1.1 release was a major improvement in all the ways that matter, but I just realised tail -r
is still there.
I'll be looking into this, and will probably follow your lead on the --reverse
. Either that or you can add it to this line and make a pull-request, which I'll gladly accept. 🏆 ✨
It was such a straight-forward fix, so I just did it while I was at it.
Cheers for pointing it out! @brnrd++
In some newer distributions, the option -r to reverse the output does not exist anymore.
It can be solved by using the command
tac
instead oftail -r
Edit: Actually you can get the log in reverse order by using the
--reverse
option for thegit log
command.