git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Feature request - discard hunk in add --patch mode
@ 2012-08-15  8:36 Mina Almasry
  2012-08-15  9:39 ` Thomas Rast
  0 siblings, 1 reply; 7+ messages in thread
From: Mina Almasry @ 2012-08-15  8:36 UTC (permalink / raw)
  To: git

Hi,

I frequently stage files using git add --patch command and I almost 
always come across debug code I want to discard, but there is no option 
for that in the prompt. The result is that I have to run an extra 
command after the dialogue ends.

I would like to add a feature to allow users to discard hunks using a 
command like r! or d!

I was wondering if that would be a welcome addition to git. I am willing 
to work on the feature myself.

Regards,
Mina

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-08-23  3:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-15  8:36 Feature request - discard hunk in add --patch mode Mina Almasry
2012-08-15  9:39 ` Thomas Rast
2012-08-15 18:11   ` Junio C Hamano
2012-08-15 18:46     ` Junio C Hamano
2012-08-15 20:58       ` Mina Almasry
2012-08-15 21:51         ` Junio C Hamano
2012-08-23  3:32         ` Mina Almasry

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).