* Question about Tig
@ 2008-04-10 15:47 Pascal Obry
2008-04-10 17:13 ` Jonas Fonseca
0 siblings, 1 reply; 3+ messages in thread
From: Pascal Obry @ 2008-04-10 15:47 UTC (permalink / raw)
To: git list
I want to stage only some hunks and not the whole file.
The way to do this is:
- to open the status view S
- select a file
- move the cursor up/down using j/k keys
- when inside the right hunk, press 'u'
Fine. But a bit tedious. Is there a way to navigate one hunk
down/up? It would be very handy I think.
Thanks,
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question about Tig
2008-04-10 15:47 Question about Tig Pascal Obry
@ 2008-04-10 17:13 ` Jonas Fonseca
2008-04-10 21:25 ` Pascal Obry
0 siblings, 1 reply; 3+ messages in thread
From: Jonas Fonseca @ 2008-04-10 17:13 UTC (permalink / raw)
To: pascal; +Cc: git list
On Thu, Apr 10, 2008 at 5:47 PM, Pascal Obry <pascal@obry.net> wrote:
> I want to stage only some hunks and not the whole file.
>
> The way to do this is:
>
> - to open the status view S
> - select a file
> - move the cursor up/down using j/k keys
> - when inside the right hunk, press 'u'
>
> Fine. But a bit tedious. Is there a way to navigate one hunk
Currently there is no way to do this using a keybinding. I will put
it on the list of stuff to work on. This, together with the ability to
keep the position across staging 'u'pdates, will be a much needed
improvement.
For now you can search for "@@" and use that to jump one hunk
forward.
--
Jonas Fonseca
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question about Tig
2008-04-10 17:13 ` Jonas Fonseca
@ 2008-04-10 21:25 ` Pascal Obry
0 siblings, 0 replies; 3+ messages in thread
From: Pascal Obry @ 2008-04-10 21:25 UTC (permalink / raw)
To: Jonas Fonseca; +Cc: git list
Jonas,
> Currently there is no way to do this using a keybinding. I will put
> it on the list of stuff to work on. This, together with the ability to
> keep the position across staging 'u'pdates, will be a much needed
> improvement.
Agreed.
> For now you can search for "@@" and use that to jump one hunk
> forward.
Yes, I'll do that for the moment. Thanks.
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-10 21:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-10 15:47 Question about Tig Pascal Obry
2008-04-10 17:13 ` Jonas Fonseca
2008-04-10 21:25 ` Pascal Obry
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 NNTP newsgroup(s).