{"thread":{"id":"1046","subject":"git-rev-list --merge-order bug?","startedAt":"2005-06-29T19:14:18Z","lastAt":"2005-06-29T22:40:16Z","messageCount":2,"participants":["A Large Angry SCM","Jon Seymour"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"5418","messageId":"42C2F30A.7030102@gmail.com","threadId":"1046","inReplyTo":null,"subject":"git-rev-list --merge-order bug?","fromName":"A Large Angry SCM","fromEmail":"gitzilla@gmail.com","sentAt":"2005-06-29T19:14:18Z","receivedAt":"2005-06-29T19:14:18Z","isPatch":false,"sender":{"key":"gitzilla@gmail.com","avatar":"https://gravatar.com/avatar/354625c442439908ff3dd99757dee330e29e9df7847472384faf7a00add247fb?d=mp&s=160"},"body":"I've noticed that git-rev-list will sometimes return a different \n*number* of commit objects depending on whether the \"--merge-order\" \nswitch was used.\n\nFor example:\n\nGet a copy of Linus' git git repository from rsync.kernel.org and try \nthe following:\n\ngit-rev-list ee28152d03f2cf4b5e3ebc25f7f03f9654d3aa0d \\\n\t^aa03413467a2f2ada900817dc2a8e3904549b5fe |wc -l\n\ngit-rev-list ee28152d03f2cf4b5e3ebc25f7f03f9654d3aa0d \\\n\t^aa03413467a2f2ada900817dc2a8e3904549b5fe --merge-order |wc -l\n\nThe first git-rev-list returns 4 commits and the second returns 304.\n\nThose commits are dated 2005-05-03 and 2005-05-02. If you use gitk, \nsearch for ``builtin'' which will jump to the merge base of the 2 branches.\n"},{"id":"5428","messageId":"2cfc403205062915406db3a03@mail.gmail.com","threadId":"1046","inReplyTo":"42C2F30A.7030102@gmail.com","subject":"Re: git-rev-list --merge-order bug?","fromName":"Jon Seymour","fromEmail":"jon.seymour@gmail.com","sentAt":"2005-06-29T22:40:16Z","receivedAt":"2005-06-29T22:40:16Z","isPatch":false,"sender":{"key":"jon.seymour@gmail.com","avatar":"https://avatars.githubusercontent.com/u/207131?v=4"},"body":"> \n> git-rev-list ee28152d03f2cf4b5e3ebc25f7f03f9654d3aa0d \\\n>         ^aa03413467a2f2ada900817dc2a8e3904549b5fe |wc -l\n> \n> git-rev-list ee28152d03f2cf4b5e3ebc25f7f03f9654d3aa0d \\\n>         ^aa03413467a2f2ada900817dc2a8e3904549b5fe --merge-order |wc -l\n> \n> The first git-rev-list returns 4 commits and the second returns 304.\n> \n\nI'll look at it.\n\nIt appears to do in cases that look like this:\n\nA\n|   B\n|   |\n|  /\nC \n\ngit-rev-list B ^A --merge-order\n\njon.\n-- \nhomepage: http://www.zeta.org.au/~jon/\nblog: http://orwelliantremors.blogspot.com/\n"}]}