* Interactive staging not functioning properly?
@ 2014-09-04 21:54 Robert Dailey
2014-09-04 21:56 ` Robert Dailey
0 siblings, 1 reply; 2+ messages in thread
From: Robert Dailey @ 2014-09-04 21:54 UTC (permalink / raw)
To: Git
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Interactive staging not functioning properly?
2014-09-04 21:54 Interactive staging not functioning properly? Robert Dailey
@ 2014-09-04 21:56 ` Robert Dailey
0 siblings, 0 replies; 2+ messages in thread
From: Robert Dailey @ 2014-09-04 21:56 UTC (permalink / raw)
To: Git
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:
> 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-04 21:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-04 21:54 Interactive staging not functioning properly? Robert Dailey
2014-09-04 21:56 ` Robert Dailey
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).