From: Karl Wiberg Date: Mon, 02 Nov 2009 08:22:13 GMT Subject: Re: stgit, rebasing with 100 patches Message-ID: In-Reply-To: <9e4733910910040600g2cbd1deah6e7ae3ad9a4aa54e@mail.gmail.com> On Sun, Oct 4, 2009 at 2:00 PM, Jon Smirl wrote: > On Thu, Oct 1, 2009 at 7:04 PM, Jon Smirl wrote: > > > Is there a better way to locate the patches the got applied? > > A solution to this is to make an option on rebase that walks the > patch stack forward one commit at a time. > > What does the --merged option do on stg rebase? The doc is rather > sparse. Right, -m/--merged is what you want. Before applying any of the patches, it tries to reverse-apply all of them in reverse order---successful applications mean the patch was already in upstream. It works surprisingly well. -- Karl Wiberg, kha@treskal.com www.treskal.com/kalle