Re: Interactive staging not functioning properly?
- From
- Robert Dailey <rcdailey.lists@gmail.com>
- Date
- Sep 4, 2014, 21:56 UTC
- Message-ID
- <CAHd499BtOH1LUq7P4Zghfso4Q-L=Ns_G7vNXox557X5dxRV70w@mail.gmail.com>
- In-Reply-To
- <CAHd499CdEORortwMWE5eLiKuiYV=yd=sZ4cny8gYe+HCzK4D5w@mail.gmail.com>
Sorry, I just realized that when the hunks are across file boundaries, it won't go back to it. I think this is a bit misleading, it would be great to see it go back to the ACTUAL previous hunk, regardless of which file it came from.
On Thu, Sep 4, 2014 at 4:54 PM, Robert Dailey <rcdailey.lists@gmail.com> wrote:
Show 12 quoted lines
> I run the following: > > $ git add -p > > I skip the first hunk by typing "n". At the next hunk, I try "k" and > "K". In both cases, it shows me the same hunk I'm on again and says > "No previous hunk". > > Is this intended behavior? I expect to be taken back to the previous > hunk that I did not stage. > > Running Git 2.1.0 on msysgit Windows.