Hi,

Vagrant Cascadian wrote:

> After upgrading git today from 1:2.0.0-2, git log -r -5.. or git log -5..
> stopped working:

Yep, it's an intentional bugfix.  See RelNotes/2.0.1.txt:

 * "git log -2master" is a common typo that shows two commits starting
   from whichever random branch that is not 'master' that happens to
   be checked out currently.

"git log -5" (= log --max-count=5) or "git log HEAD~5.."
(= log HEAD^^^^^..HEAD) should get you going, depending on which
behavior you were looking for.

Any idea where the -5.. habit came from?  Maybe there's some
documentation that could be fixed.

Thanks,
Jonathan


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to