Re: Feature request - discard hunk in add --patch mode

2012-08-22 Thread Mina Almasry
e, debug and WIP git patch-process ; # Stage, stash, and discard hunks as you please # ready for commit git commit How does this sound? PS: Newbish question: I am looking to help out with git, either with this feature or others. How do I get around getting assigned a work to do? Thanks. Mina

Re: Feature request - discard hunk in add --patch mode

2012-08-15 Thread Mina Almasry
On 12-08-15 02:46 PM, Junio C Hamano wrote: Junio C Hamano writes: Thomas Rast writes: This has come up before, and actually led to the introduction of 'checkout -p' and 'reset -p': http://thread.gmane.org/gmane.comp.version-control.git/123854 That is a blast from the past. Why is say

Feature request - discard hunk in add --patch mode

2012-08-15 Thread Mina Almasry
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 d