Re: Bug with rev-list --reverse?
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Apr 18, 2013, 11:18 UTC
- Message-ID
- <CAMP44s014Yv9+N7=0CYiYYybJCZJ7r-vQp_zcfg6Xo=3f21RWA@mail.gmail.com>
- In-Reply-To
- <alpine.DEB.2.00.1304181146090.30868@ds9.cixit.se>
On Thu, Apr 18, 2013 at 5:47 AM, Peter Krefting <peter@softwolves.pp.se> wrote:
Show 16 quoted lines
>> % git log --oneline -1 v1.8.1.5^..v1.8.1.6 >> % git log --oneline --reverse -1 v1.8.1.5^..v1.8.1.6 >> >> I expect to get a different output, and not both showing v1.8.1.6. >> Wouldn't you agree? > > > Quoting the manual page: > > Commit Limiting > Besides specifying a range of commits that should be listed using the > special notations explained in the description, additional commit limiting > may be applied. Note that they are applied before commit ordering and > formatting options, such as --reverse. > > Given that, I would expect the output to be the same.
If expectations were based on documentation, all one has to do is document bugs, and there would be no bugs anymore :)
Code can be changed to fit more appropriately user expectations (which are independent of documentation), and the documentation updated accordingly.
-- Felipe Contreras