{"thread":{"id":"49705","subject":"Lost changes after merge","startedAt":"2018-10-29T08:49:24Z","lastAt":"2018-10-31T15:30:50Z","messageCount":6,"participants":["Gray King","Jeff King","Rafael Ascensão","Brandon McCaig"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"361886","messageId":"CAP1N1j7P83XVPx6dDGMSeRbwjdixAdBNZab=TP94=9LSfmsrRQ@mail.gmail.com","threadId":"49705","inReplyTo":null,"subject":"Lost changes after merge","fromName":"Gray King","fromEmail":"grayking.w@gmail.com","sentAt":"2018-10-29T08:49:20Z","receivedAt":"2018-10-29T08:49:24Z","isPatch":false,"sender":{"key":"grayking.w@gmail.com","avatar":"https://gravatar.com/avatar/7442359a394ebc957be1748c1b768ecb7cf110e272cbaf8d25156cc40492a700?d=mp&s=160"},"body":"Hello,\n\n  I have a very strange issue described below:\n\n* Here is the tree before I merge via `git log --format=\"%h %p %d\" -n\n20 --all --graph`:\n\nhttps://upaste.de/9Pe\n\n* Here is the output of `git log --format=\"%h %p %d\" -2 path/to/file`:\n\na008c4d580 c61f96eb5d\na274b6e7ca 67c1000ca3\n\n* Here is the merge commands:\n\ngit merge f087081868\n# fix conflicts\n\n* Here is the tree after I merged via `git log --format=\"%h %p %d\" -n\n20 --all --graph`:\n\nhttps://upaste.de/8Bx\n\n\n* Here is the output of `git log --format=\"%h %p %d\" -2 path/to/file`:\n\na274b6e7ca 67c1000ca3\n67c1000ca3 00bd5c8c89\n"},{"id":"361887","messageId":"CAP1N1j6NM-MA0FX7Bi-z7QGXGeFe2faroU5YhrvCWOBcj47QPA@mail.gmail.com","threadId":"49705","inReplyTo":"CAP1N1j7P83XVPx6dDGMSeRbwjdixAdBNZab=TP94=9LSfmsrRQ@mail.gmail.com","subject":"Re: Lost changes after merge","fromName":"Gray King","fromEmail":"grayking.w@gmail.com","sentAt":"2018-10-29T08:51:14Z","receivedAt":"2018-10-29T08:51:18Z","isPatch":false,"sender":{"key":"grayking.w@gmail.com","avatar":"https://gravatar.com/avatar/7442359a394ebc957be1748c1b768ecb7cf110e272cbaf8d25156cc40492a700?d=mp&s=160"},"body":"After merged, the latest commit(a008c4d580) has lost and the second\ncommit(a274b6e7ca) has been the latest,\nand changes missed too.\n\n\n\n在 2018年10月29日 下午4:49:20, Gray King\n(grayking.w@gmail.com(mailto:grayking.w@gmail.com)) 写到:\n\n>\n>\n> Hello,\n>\n> I have a very strange issue described below:\n>\n> * Here is the tree before I merge via `git log --format=\"%h %p %d\" -n 20 --all --graph`:\n>\n> https://upaste.de/9Pe\n>\n> * Here is the output of `git log --format=\"%h %p %d\" -2 path/to/file`:\n>\n> a008c4d580 c61f96eb5d\n> a274b6e7ca 67c1000ca3\n>\n> * Here is the merge commands:\n>\n> git merge f087081868\n> # fix conflicts\n>\n> * Here is the tree after I merged via `git log --format=\"%h %p %d\" -n 20 --all --graph`:\n>\n> https://upaste.de/8Bx\n>\n>\n> * Here is the output of `git log --format=\"%h %p %d\" -2 path/to/file`:\n>\n> a274b6e7ca 67c1000ca3\n> 67c1000ca3 00bd5c8c89\n"},{"id":"361899","messageId":"20181029141804.GC17668@sigill.intra.peff.net","threadId":"49705","inReplyTo":"CAP1N1j7P83XVPx6dDGMSeRbwjdixAdBNZab=TP94=9LSfmsrRQ@mail.gmail.com","subject":"Re: Lost changes after merge","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2018-10-29T14:18:05Z","receivedAt":"2018-10-29T14:18:08Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Mon, Oct 29, 2018 at 09:49:20AM +0100, Gray King wrote:\n\n> Hello,\n> \n>   I have a very strange issue described below:\n> \n> * Here is the tree before I merge via `git log --format=\"%h %p %d\" -n\n> 20 --all --graph`:\n> \n> https://upaste.de/9Pe\n\nFWIW, neither this nor the other paste link in your email seem to work\nfor me (which makes it hard to comment on the rest of the email).\n\n-Peff\n"},{"id":"361959","messageId":"CAP1N1j7AbiYLfe4EiFn-4zdBd-nD2paXx1hZhqiUCOq4iLh9zw@mail.gmail.com","threadId":"49705","inReplyTo":"20181029141804.GC17668@sigill.intra.peff.net","subject":"Re: Lost changes after merge","fromName":"Gray King","fromEmail":"grayking.w@gmail.com","sentAt":"2018-10-30T02:46:28Z","receivedAt":"2018-10-30T02:46:32Z","isPatch":false,"sender":{"key":"grayking.w@gmail.com","avatar":"https://gravatar.com/avatar/7442359a394ebc957be1748c1b768ecb7cf110e272cbaf8d25156cc40492a700?d=mp&s=160"},"body":"Sorry, seems the link has been expired, here is the new one:\n\n\n* Before merge run `git log --format=\"%h %p %d\" -n 20 --all --graph`:\n\nhttps://cfp.vim-cn.com/cbfq6\n\n* After merged run `git log --format=\"%h %p %d\" -n 20 --all --graph`:\n\nhttps://cfp.vim-cn.com/cbfq7\n\n在 2018年10月29日 下午10:18:07, Jeff King (peff@peff.net(mailto:peff@peff.net)) 写到:\n\n> On Mon, Oct 29, 2018 at 09:49:20AM +0100, Gray King wrote:\n>\n> > Hello,\n> >\n> > I have a very strange issue described below:\n> >\n> > * Here is the tree before I merge via `git log --format=\"%h %p %d\" -n\n> > 20 --all --graph`:\n> >\n> > https://upaste.de/9Pe\n>\n> FWIW, neither this nor the other paste link in your email seem to work\n> for me (which makes it hard to comment on the rest of the email).\n>\n> -Peff\n"},{"id":"361994","messageId":"20181030152929.uxxf3r6gsslr4vpp@rigel","threadId":"49705","inReplyTo":"CAP1N1j7AbiYLfe4EiFn-4zdBd-nD2paXx1hZhqiUCOq4iLh9zw@mail.gmail.com","subject":"Re: Lost changes after merge","fromName":"Rafael Ascensão","fromEmail":"rafa.almas@gmail.com","sentAt":"2018-10-30T15:29:29Z","receivedAt":"2018-10-30T15:29:39Z","isPatch":false,"sender":{"key":"rafa.almas@gmail.com","avatar":"https://avatars.githubusercontent.com/u/1923789?v=4"},"body":"The commits you mentioned are not present on the new pastes.\n\nOn Tue, Oct 30, 2018 at 03:46:28AM +0100, Gray King wrote:\n> Sorry, seems the link has been expired, here is the new one:\n> * Before merge run `git log --format=\"%h %p %d\" -n 20 --all --graph`:\n>\n\nOne thing I noticed, is that you're using %p with --graph. And --graph\nenables parent rewriting. Which may surprise you if you don't know what\nit does.\n\nBut apart from that, and assuming you only did `git merge f087081868`\neverything looks normal between those two pastes.\n\nCheers,\nRafael Ascensão\n"},{"id":"362113","messageId":"20181031153045.iirgzwwncogxgwlu@test-chamber-21.localdomain","threadId":"49705","inReplyTo":"CAP1N1j7AbiYLfe4EiFn-4zdBd-nD2paXx1hZhqiUCOq4iLh9zw@mail.gmail.com","subject":"Re: Lost changes after merge","fromName":"Brandon McCaig","fromEmail":"bamccaig@gmail.com","sentAt":"2018-10-31T15:30:45Z","receivedAt":"2018-10-31T15:30:50Z","isPatch":false,"sender":{"key":"bamccaig@gmail.com","avatar":"https://gravatar.com/avatar/05b01f2b62a5ddbaa1946579266a8d9e970fed0c0b3c20e8d42aca973c31531c?d=mp&s=160"},"body":"Gray:\n\nOn Tue, Oct 30, 2018 at 03:46:28AM +0100, Gray King wrote:\n> * Before merge run `git log --format=\"%h %p %d\" -n 20 --all --graph`:\n> \n> https://cfp.vim-cn.com/cbfq6\n> \n> * After merged run `git log --format=\"%h %p %d\" -n 20 --all --graph`:\n> \n> https://cfp.vim-cn.com/cbfq7\n\nI also cannot see anything wrong here. The two commits you\nmentioned earlier are not in either paste, as was already stated.\nIt might help us understand if you are more explicit about what\nyou think is wrong. Maybe verify that your pastes have captured\nall of the necessary information to understand the problem.\n\nThe only other thing that I note is that 6d6ed669d1 and\n3c792ffaf0 appear to be merging the same two parents, so\nlogically they should be identical (unless merge conflicts were\nresolved in different ways). Is that related to the issue? Was\none of the merges done incorrectly, and you're trying to fix it?\nOr are you just confused about how you got into this state in the\nfirst place?\n\nRegards,\n\n\n-- \nBrandon McCaig <bamccaig@gmail.com> <bambams@castopulence.org>\nCastopulence Software <https://www.castopulence.org/>\nBlog <http://www.bambams.ca/>\nperl -E '$_=q{V zrna gur orfg jvgu jung V fnl. }.\nq{Vg qbrfa'\\''g nyjnlf fbhaq gung jnl.};\ntr/A-Ma-mN-Zn-z/N-Zn-zA-Ma-m/;say'\n\n"}]}