Hi, On Wed, 29 Nov 2006, Carl Worth wrote: > [As an aside, the situation of independent changes being mixed in a > working tree is not always so lucky as to be cleanly separated into > disjoint file sets. When it's not, I have to disentangle them. Now, the > index could really help during this operation too, but we would need > better tools than update-index which only works on a per-file basis. > Something that let me easily select chunks of the patch would be really > nice.] I regularly do something like $ git diff [file] > a1.patch $ vi a1.patch [edit out the chunks I want to commit] $ git apply -R < a1.patch $ git commit [file] $ git apply < a1.patch Seems a little bit convoluted, but works... Hth, Dscho - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Thu Nov 30 10:58:16 2006
This archive was generated by hypermail 2.1.8 : 2006-11-30 10:59:23 EST