{"thread":{"id":"37493","subject":"Interactive staging not functioning properly?","startedAt":"2014-09-04T21:54:17Z","lastAt":"2014-09-04T21:56:05Z","messageCount":2,"participants":["Robert Dailey"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"248879","messageId":"CAHd499CdEORortwMWE5eLiKuiYV=yd=sZ4cny8gYe+HCzK4D5w@mail.gmail.com","threadId":"37493","inReplyTo":null,"subject":"Interactive staging not functioning properly?","fromName":"Robert Dailey","fromEmail":"rcdailey.lists@gmail.com","sentAt":"2014-09-04T21:54:17Z","receivedAt":"2014-09-04T21:54:17Z","isPatch":false,"sender":{"key":"rcdailey.lists@gmail.com","avatar":null},"body":"I run the following:\n\n$ git add -p\n\nI skip the first hunk by typing \"n\". At the next hunk, I try \"k\" and\n\"K\". In both cases, it shows me the same hunk I'm on again and says\n\"No previous hunk\".\n\nIs this intended behavior? I expect to be taken back to the previous\nhunk that I did not stage.\n\nRunning Git 2.1.0 on msysgit Windows.\n"},{"id":"248880","messageId":"CAHd499BtOH1LUq7P4Zghfso4Q-L=Ns_G7vNXox557X5dxRV70w@mail.gmail.com","threadId":"37493","inReplyTo":"CAHd499CdEORortwMWE5eLiKuiYV=yd=sZ4cny8gYe+HCzK4D5w@mail.gmail.com","subject":"Re: Interactive staging not functioning properly?","fromName":"Robert Dailey","fromEmail":"rcdailey.lists@gmail.com","sentAt":"2014-09-04T21:56:05Z","receivedAt":"2014-09-04T21:56:05Z","isPatch":false,"sender":{"key":"rcdailey.lists@gmail.com","avatar":null},"body":"Sorry, I just realized that when the hunks are across file boundaries,\nit won't go back to it. I think this is a bit misleading, it would be\ngreat to see it go back to the ACTUAL previous hunk, regardless of\nwhich file it came from.\n\nOn Thu, Sep 4, 2014 at 4:54 PM, Robert Dailey <rcdailey.lists@gmail.com> wrote:\n> I run the following:\n>\n> $ git add -p\n>\n> I skip the first hunk by typing \"n\". At the next hunk, I try \"k\" and\n> \"K\". In both cases, it shows me the same hunk I'm on again and says\n> \"No previous hunk\".\n>\n> Is this intended behavior? I expect to be taken back to the previous\n> hunk that I did not stage.\n>\n> Running Git 2.1.0 on msysgit Windows.\n"}]}