{"thread":{"id":"13299","subject":"reflog/show question","startedAt":"2008-04-28T01:59:17Z","lastAt":"2008-05-02T02:21:44Z","messageCount":11,"participants":["Geoff Russell","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"75341","messageId":"93c3eada0804271859p1b4d8b52i811bdc5e42672822@mail.gmail.com","threadId":"13299","inReplyTo":null,"subject":"reflog/show question","fromName":"Geoff Russell","fromEmail":"geoffrey.russell@gmail.com","sentAt":"2008-04-28T01:59:17Z","receivedAt":"2008-04-28T01:59:17Z","isPatch":false,"sender":{"key":"geoffrey.russell@gmail.com","avatar":"https://gravatar.com/avatar/c30f497ccfa6bf06d86f30bd2ba092a2dd124c61c6bc902f7cb5c3f6486947de?d=mp&s=160"},"body":"     git show HEAD@{\"3 minutes ago\"}\n\nworks as I expect, but\n\n     git show HEAD@{\"3 minutes ago\"}:data/node/node.data\n\ngives me a message:\n\n       warning: Log for 'HEAD' only goes back to Mon, 28 Apr 2008\n10:18:37 +0930.\n       fatal: ambiguous argument\n'HEAD@{3.minutes.ago}:data/node/node.newds1': unknown revision or path\nnot in the working tree.\n       Use '--' to separate paths from revisions\n\nHowever,\n\n     git show HEAD@{2}:data/node/node.data\n\nshows me the file as it was 3 minutes ago.\n\nI'm using 1.5.4.rc4\n\nCheers,\n\nGeoff Russell\n"},{"id":"75358","messageId":"20080428092410.GD16153@sigill.intra.peff.net","threadId":"13299","inReplyTo":"93c3eada0804271859p1b4d8b52i811bdc5e42672822@mail.gmail.com","subject":"Re: reflog/show question","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2008-04-28T09:24:10Z","receivedAt":"2008-04-28T09:24:10Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Mon, Apr 28, 2008 at 11:29:17AM +0930, Geoff Russell wrote:\n\n>      git show HEAD@{\"3 minutes ago\"}\n> \n> works as I expect, but\n> \n>      git show HEAD@{\"3 minutes ago\"}:data/node/node.data\n> \n> gives me a message:\n> \n>        warning: Log for 'HEAD' only goes back to Mon, 28 Apr 2008\n> 10:18:37 +0930.\n>\n> [...]\n> I'm using 1.5.4.rc4\n\nI can't reproduce here, using the current master or v1.5.4-rc4. If I\nhave a matching reflog, both work. And if I choose a much older time\n(say, \"1.year.ago\"), then both fail. What are the entries in your\nreflog (.git/logs/HEAD)?\n\n-Peff\n"},{"id":"75482","messageId":"93c3eada0804281847q267611aeke51b482cfbe100d6@mail.gmail.com","threadId":"13299","inReplyTo":"20080428092410.GD16153@sigill.intra.peff.net","subject":"Re: reflog/show question","fromName":"Geoff Russell","fromEmail":"geoffrey.russell@gmail.com","sentAt":"2008-04-29T01:47:09Z","receivedAt":"2008-04-29T01:47:09Z","isPatch":false,"sender":{"key":"geoffrey.russell@gmail.com","avatar":"https://gravatar.com/avatar/c30f497ccfa6bf06d86f30bd2ba092a2dd124c61c6bc902f7cb5c3f6486947de?d=mp&s=160"},"body":"On Mon, Apr 28, 2008 at 6:54 PM, Jeff King <peff@peff.net> wrote:\n> On Mon, Apr 28, 2008 at 11:29:17AM +0930, Geoff Russell wrote:\n>\n>  >      git show HEAD@{\"3 minutes ago\"}\n>  >\n>  > works as I expect, but\n>  >\n>  >      git show HEAD@{\"3 minutes ago\"}:data/node/node.data\n>  >\n>  > gives me a message:\n>  >\n>  >        warning: Log for 'HEAD' only goes back to Mon, 28 Apr 2008\n>  > 10:18:37 +0930.\n>  >\n>  > [...]\n>\n> > I'm using 1.5.4.rc4\n>\n>  I can't reproduce here, using the current master or v1.5.4-rc4. If I\n>  have a matching reflog, both work. And if I choose a much older time\n>  (say, \"1.year.ago\"), then both fail. What are the entries in your\n>  reflog (.git/logs/HEAD)?\n\nI think its something to do with the filename and my commit comments.\nThe command\nworks as expected on other files.  The HEAD file is attached.\n\nGeoff\n\n>\n>  -Peff\n>\n\n\n\n-- \n6 Fifth Ave,\nSt Morris, S.A. 5068\nAustralia\nPh: 041 8805 184 / 08 8332 5069\n"},{"id":"75568","messageId":"20080429201214.GB20509@sigill.intra.peff.net","threadId":"13299","inReplyTo":"93c3eada0804281847q267611aeke51b482cfbe100d6@mail.gmail.com","subject":"Re: reflog/show question","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2008-04-29T20:12:14Z","receivedAt":"2008-04-29T20:12:14Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Tue, Apr 29, 2008 at 11:17:09AM +0930, Geoff Russell wrote:\n\n> >  >      git show HEAD@{\"3 minutes ago\"}\n> >  >\n> >  > works as I expect, but\n> >  >\n> >  >      git show HEAD@{\"3 minutes ago\"}:data/node/node.data\n> >  >\n> >  > gives me a message:\n> >  >\n> >  >        warning: Log for 'HEAD' only goes back to Mon, 28 Apr 2008\n> >  >        10:18:37 +0930.\n> >  >\n> >\n> I think its something to do with the filename and my commit comments.\n> The command works as expected on other files.  The HEAD file is\n> attached.\n\nHmm. Are you sure that the commit you got from HEAD@{\"3 minutes ago\"}\nactually _has_ the file data/node/node.data? If it doesn't, then you get\nthe error message you saw. And it may be that the reflog warning happens\nin _both_ cases, only you don't see it in the first because it is masked\nby the pager. In v1.5.5, that output is now sent to the pager, instead.\n\n-Peff\n"},{"id":"75598","messageId":"93c3eada0804291506n7432b348p2b726926b5fc8f80@mail.gmail.com","threadId":"13299","inReplyTo":"20080429201214.GB20509@sigill.intra.peff.net","subject":"Re: reflog/show question","fromName":"Geoff Russell","fromEmail":"geoffrey.russell@gmail.com","sentAt":"2008-04-29T22:06:23Z","receivedAt":"2008-04-29T22:06:23Z","isPatch":false,"sender":{"key":"geoffrey.russell@gmail.com","avatar":"https://gravatar.com/avatar/c30f497ccfa6bf06d86f30bd2ba092a2dd124c61c6bc902f7cb5c3f6486947de?d=mp&s=160"},"body":"On 4/30/08, Jeff King <peff@peff.net> wrote:\n> On Tue, Apr 29, 2008 at 11:17:09AM +0930, Geoff Russell wrote:\n>\n>  > >  >      git show HEAD@{\"3 minutes ago\"}\n>  > >  >\n>  > >  > works as I expect, but\n>  > >  >\n>  > >  >      git show HEAD@{\"3 minutes ago\"}:data/node/node.data\n>  > >  >\n>  > >  > gives me a message:\n>  > >  >\n>  > >  >        warning: Log for 'HEAD' only goes back to Mon, 28 Apr 2008\n>  > >  >        10:18:37 +0930.\n>  > >  >\n>  > >\n>\n> > I think its something to do with the filename and my commit comments.\n>  > The command works as expected on other files.  The HEAD file is\n>  > attached.\n>\n>\n> Hmm. Are you sure that the commit you got from HEAD@{\"3 minutes ago\"}\n>  actually _has_ the file data/node/node.data? If it doesn't, then you get\n>  the error message you saw. And it may be that the reflog warning happens\n>  in _both_ cases, only you don't see it in the first because it is masked\n>  by the pager. In v1.5.5, that output is now sent to the pager, instead.\n>\n>  -Peff\n>\n\nLater today (touch wood) I'll prepare as small a test case as\npossible, then send\na tar.gz of the .git directory. Okay?\n\nGeoff.\n\n\n-- \n6 Fifth Ave,\nSt Morris, S.A. 5068\nAustralia\nPh: 041 8805 184 / 08 8332 5069\n"},{"id":"75609","messageId":"20080429230715.GB22598@sigill.intra.peff.net","threadId":"13299","inReplyTo":"93c3eada0804291506n7432b348p2b726926b5fc8f80@mail.gmail.com","subject":"Re: reflog/show question","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2008-04-29T23:07:15Z","receivedAt":"2008-04-29T23:07:15Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Wed, Apr 30, 2008 at 07:36:23AM +0930, Geoff Russell wrote:\n\n> > Hmm. Are you sure that the commit you got from HEAD@{\"3 minutes ago\"}\n> >  actually _has_ the file data/node/node.data? If it doesn't, then you get\n> \n> Later today (touch wood) I'll prepare as small a test case as\n> possible, then send\n> a tar.gz of the .git directory. Okay?\n\nThat would be great, thanks.\n\n-Peff\n"},{"id":"75615","messageId":"93c3eada0804291712u19c1047bl6d44df4ca025bb4d@mail.gmail.com","threadId":"13299","inReplyTo":"20080429230715.GB22598@sigill.intra.peff.net","subject":"Re: reflog/show question","fromName":"Geoff Russell","fromEmail":"geoffrey.russell@gmail.com","sentAt":"2008-04-30T00:12:35Z","receivedAt":"2008-04-30T00:12:35Z","isPatch":false,"sender":{"key":"geoffrey.russell@gmail.com","avatar":"https://gravatar.com/avatar/c30f497ccfa6bf06d86f30bd2ba092a2dd124c61c6bc902f7cb5c3f6486947de?d=mp&s=160"},"body":"On Wed, Apr 30, 2008 at 8:37 AM, Jeff King <peff@peff.net> wrote:\n> On Wed, Apr 30, 2008 at 07:36:23AM +0930, Geoff Russell wrote:\n>\n>  > > Hmm. Are you sure that the commit you got from HEAD@{\"3 minutes ago\"}\n>  > >  actually _has_ the file data/node/node.data? If it doesn't, then you get\n>  >\n>\n> > Later today (touch wood) I'll prepare as small a test case as\n>  > possible, then send\n>  > a tar.gz of the .git directory. Okay?\n>\n>  That would be great, thanks.\n\nAttached is tar.gz of working directory (.) - so unpack in a new directory.\n\n       git show HEAD@{\"N seconds ago\"}:data/node/.gitignore\n\nworks fine for values of N back to creationof file\n\nBut:\n\n       git show HEAD@{\"N seconds ago\"}:data/node/node.newds1\n\ndoesn't work for any values of N.\n\nDuring my attempts to create this example, I managed created a\ndirectory which where\nthe show command failed for both files, but when I changed the commit\nmessage, the\nshow worked for .gitignore but not the node file. Hence my suspicion\nof that the slashes\nin the path are being interpreted as requesting a commit message match ...?\n\nI hope you can track it down, I will install the latest version of git\nlater on today to\nconfirm the behaviour is still happening.\n\nThanks,\nGeoff Russell\n\n>\n>  -Peff\n>\n\n\n\n-- \n6 Fifth Ave,\nSt Morris, S.A. 5068\nAustralia\nPh: 041 8805 184 / 08 8332 5069\n"},{"id":"75617","messageId":"93c3eada0804291726l454ccbbv96217d6657d79ded@mail.gmail.com","threadId":"13299","inReplyTo":"93c3eada0804291712u19c1047bl6d44df4ca025bb4d@mail.gmail.com","subject":"Re: reflog/show question","fromName":"Geoff Russell","fromEmail":"geoffrey.russell@gmail.com","sentAt":"2008-04-30T00:26:24Z","receivedAt":"2008-04-30T00:26:24Z","isPatch":false,"sender":{"key":"geoffrey.russell@gmail.com","avatar":"https://gravatar.com/avatar/c30f497ccfa6bf06d86f30bd2ba092a2dd124c61c6bc902f7cb5c3f6486947de?d=mp&s=160"},"body":"On Wed, Apr 30, 2008 at 9:42 AM, Geoff Russell\n<geoffrey.russell@gmail.com> wrote:\n>\n> On Wed, Apr 30, 2008 at 8:37 AM, Jeff King <peff@peff.net> wrote:\n>  > On Wed, Apr 30, 2008 at 07:36:23AM +0930, Geoff Russell wrote:\n>  >\n>  >  > > Hmm. Are you sure that the commit you got from HEAD@{\"3 minutes ago\"}\n>  >  > >  actually _has_ the file data/node/node.data? If it doesn't, then you get\n>  >  >\n>  >\n>  > > Later today (touch wood) I'll prepare as small a test case as\n>  >  > possible, then send\n>  >  > a tar.gz of the .git directory. Okay?\n>  >\n>  >  That would be great, thanks.\n>\n>  Attached is tar.gz of working directory (.) - so unpack in a new directory.\n>\n>        git show HEAD@{\"N seconds ago\"}:data/node/.gitignore\n>\n>  works fine for values of N back to creationof file\n>\n>  But:\n>\n>        git show HEAD@{\"N seconds ago\"}:data/node/node.newds1\n>\n>  doesn't work for any values of N.\n>\n>  During my attempts to create this example, I managed created a\n>  directory which where\n>  the show command failed for both files, but when I changed the commit\n>  message, the\n>  show worked for .gitignore but not the node file. Hence my suspicion\n>  of that the slashes\n>  in the path are being interpreted as requesting a commit message match ...?\n>\n>  I hope you can track it down, I will install the latest version of git\n>  later on today to\n>  confirm the behaviour is still happening.\n\nI just confirmed behaviour is still the same in 1.5.5\n\nGeoff.\n\n\n\n>\n>  Thanks,\n>  Geoff Russell\n>\n>  >\n>  >  -Peff\n>\n>\n> >\n>\n>\n>\n>  --\n>  6 Fifth Ave,\n>  St Morris, S.A. 5068\n>  Australia\n>  Ph: 041 8805 184 / 08 8332 5069\n>\n\n\n\n-- \n6 Fifth Ave,\nSt Morris, S.A. 5068\nAustralia\nPh: 041 8805 184 / 08 8332 5069\n"},{"id":"75724","messageId":"93c3eada0804301715r724e8b8xf0ed64ebe016beea@mail.gmail.com","threadId":"13299","inReplyTo":"93c3eada0804291726l454ccbbv96217d6657d79ded@mail.gmail.com","subject":"Re: reflog/show question","fromName":"Geoff Russell","fromEmail":"geoffrey.russell@gmail.com","sentAt":"2008-05-01T00:15:40Z","receivedAt":"2008-05-01T00:15:40Z","isPatch":false,"sender":{"key":"geoffrey.russell@gmail.com","avatar":"https://gravatar.com/avatar/c30f497ccfa6bf06d86f30bd2ba092a2dd124c61c6bc902f7cb5c3f6486947de?d=mp&s=160"},"body":"N.B. This problem has vanished -- which means its probably something I\nmessed up. I haven't\nworked out what yet, but I will.  Apologies for any time wasted.\n\nCheers,\nGeoff.\n\nOn Wed, Apr 30, 2008 at 9:56 AM, Geoff Russell\n<geoffrey.russell@gmail.com> wrote:\n>\n> On Wed, Apr 30, 2008 at 9:42 AM, Geoff Russell\n>  <geoffrey.russell@gmail.com> wrote:\n>  >\n>  > On Wed, Apr 30, 2008 at 8:37 AM, Jeff King <peff@peff.net> wrote:\n>  >  > On Wed, Apr 30, 2008 at 07:36:23AM +0930, Geoff Russell wrote:\n>  >  >\n>  >  >  > > Hmm. Are you sure that the commit you got from HEAD@{\"3 minutes ago\"}\n>  >  >  > >  actually _has_ the file data/node/node.data? If it doesn't, then you get\n>  >  >  >\n>  >  >\n>  >  > > Later today (touch wood) I'll prepare as small a test case as\n>  >  >  > possible, then send\n>  >  >  > a tar.gz of the .git directory. Okay?\n>  >  >\n>  >  >  That would be great, thanks.\n>  >\n>  >  Attached is tar.gz of working directory (.) - so unpack in a new directory.\n>  >\n>  >        git show HEAD@{\"N seconds ago\"}:data/node/.gitignore\n>  >\n>  >  works fine for values of N back to creationof file\n>  >\n>  >  But:\n>  >\n>  >        git show HEAD@{\"N seconds ago\"}:data/node/node.newds1\n>  >\n>  >  doesn't work for any values of N.\n>  >\n>  >  During my attempts to create this example, I managed created a\n>  >  directory which where\n>  >  the show command failed for both files, but when I changed the commit\n>  >  message, the\n>  >  show worked for .gitignore but not the node file. Hence my suspicion\n>  >  of that the slashes\n>  >  in the path are being interpreted as requesting a commit message match ...?\n>  >\n>  >  I hope you can track it down, I will install the latest version of git\n>  >  later on today to\n>  >  confirm the behaviour is still happening.\n>\n>  I just confirmed behaviour is still the same in 1.5.5\n>\n>  Geoff.\n>\n>\n>\n>\n>\n>  >\n>  >  Thanks,\n>  >  Geoff Russell\n>  >\n>  >  >\n>  >  >  -Peff\n>  >\n>  >\n>  > >\n>  >\n>  >\n>  >\n>  >  --\n>  >  6 Fifth Ave,\n>  >  St Morris, S.A. 5068\n>  >  Australia\n>  >  Ph: 041 8805 184 / 08 8332 5069\n>  >\n>\n>\n>\n>  --\n>  6 Fifth Ave,\n>  St Morris, S.A. 5068\n>  Australia\n>  Ph: 041 8805 184 / 08 8332 5069\n>\n\n\n\n-- \n6 Fifth Ave,\nSt Morris, S.A. 5068\nAustralia\nPh: 041 8805 184 / 08 8332 5069\n"},{"id":"75754","messageId":"20080501135354.GB10135@sigill.intra.peff.net","threadId":"13299","inReplyTo":"93c3eada0804301715r724e8b8xf0ed64ebe016beea@mail.gmail.com","subject":"Re: reflog/show question","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2008-05-01T13:53:54Z","receivedAt":"2008-05-01T13:53:54Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Thu, May 01, 2008 at 09:45:40AM +0930, Geoff Russell wrote:\n\n> N.B. This problem has vanished -- which means its probably something I\n> messed up. I haven't worked out what yet, but I will.  Apologies for\n> any time wasted.\n\nVanished randomly, or after you upgraded to the latest master? Did you\nmiss the \"fix reflog approxidate parsing bug\" patch I posted?\n\n-Peff\n"},{"id":"75792","messageId":"93c3eada0805011921j4c1c7f8co864e7366e2ab8ed5@mail.gmail.com","threadId":"13299","inReplyTo":"20080501135354.GB10135@sigill.intra.peff.net","subject":"Re: reflog/show question","fromName":"Geoff Russell","fromEmail":"geoffrey.russell@gmail.com","sentAt":"2008-05-02T02:21:44Z","receivedAt":"2008-05-02T02:21:44Z","isPatch":false,"sender":{"key":"geoffrey.russell@gmail.com","avatar":"https://gravatar.com/avatar/c30f497ccfa6bf06d86f30bd2ba092a2dd124c61c6bc902f7cb5c3f6486947de?d=mp&s=160"},"body":"On 5/1/08, Jeff King <peff@peff.net> wrote:\n> On Thu, May 01, 2008 at 09:45:40AM +0930, Geoff Russell wrote:\n>\n>  > N.B. This problem has vanished -- which means its probably something I\n>  > messed up. I haven't worked out what yet, but I will.  Apologies for\n>  > any time wasted.\n>\n>\n> Vanished randomly, or after you upgraded to the latest master? Did you\n>  miss the \"fix reflog approxidate parsing bug\" patch I posted?\n\nI did a \"git pull origin\" and used both 1.5.5.1 and my original\n1.5.4-rc4 and couldn't\nreproduce the problem. I have just looked at the patch and\nit certainly sounds like it is attacking the problem that I was\nseeing, but it shouldn't\nhave affected the 1.5.4-rc4 code.\n\nThanks\nGeoff.\n\n>\n>  -Peff\n>\n\n\n-- \n6 Fifth Ave,\nSt Morris, S.A. 5068\nAustralia\nPh: 041 8805 184 / 08 8332 5069\n"}]}