Hi, On Sun, 20 Aug 2006, Kristian Høgsberg wrote: > Hi, > > I sent a patch to rewrite branch in C and make it a builtin a couple > of months ago. Junio had a few comments about the patch that I now > finally had the time to address. One of the problems was that > merge-base didn't clean up its state, which has now been fixed. > Here's the updated version. > > Signed-off-by: Kristian Høgsberg <krh@xxxxxxxxxx> Micro-nit: in delete_branches(), you can assign rev2 outside the loop. Also, "git branch" no longer sorts the names alphabetically (you could fix this by putting the names into a path_list, which sorts them). The "-l" option (create a log) seems to be forgotten, but then, I never use that anyway. AFAICT the rest is fine. Ciao, Dscho