On Wed, 22 Jun 2005, Junio C Hamano wrote: > > Having said that, one automation I would benefit from is to > automatically find patches that _have_ been accepted and drop > them from my snapshot pool --- that part should be very easy to > automate and I have not done so primarily because I _am_ lazy. > I could call it git-cherry-drop ;-). Andrew Morton does all of this with quilt, and it ends up being very effective. Of course, the kernel has had almost 15 years of people making it more and more modular, so the kernel really gets rejects very seldom indeed, and it would probably not work as well for other projects (including git) that tend to have tighter couplings, if for no other reason than the fact that they are usually smaller. Anyway, it's not a trivial problem. You can search for patch matches in the patch history, but the thing is, that will fail whenever a patch was edited for whitespace etc (which does end up happening often enough to matter). The same goes even more for the commit messages (I routinely not only add my sign-off, of course, but also fix typo's I notice and often end up reformatting whitespace). So at the very least, you'd have to have a fuzzy search (but exact enough that you'd see if a part of a patch was dropped etc). Linus - 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 Jun 23 03:45:49 2005
This archive was generated by hypermail 2.1.8 : 2005-06-23 03:45:50 EST