[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#987884: ITP: git-autofixup -- Automatically fixup commits with related changes



Hi Andrej,

Thanks for your quick response!

On Sat, May 01, 2021 at 07:39:22PM +0200, Andrej Shadura wrote:
> On Sat, 1 May 2021, at 14:48, Daniel Gröber wrote:
> > git-autofixup creates fixup commits from changes in the worktree. This
> > can save the tedious work of amending fixes into the appropriate
> > commits during codereview.
> > 
> > Changes to consider are parsed out of git-diff(1) and git-blame(1) is
> > used to assign hunks to commits since the revision given on the
> > commandline, which will typically represent a topic branch. Then it
> > creates fixup commits to be used with git rebase --autosquash.
> > 
> > - There is another program called git-absorb which performs
> >   essentially the same function as git-autofixup but is written in Rust
> >   instead of Perl. Since Perl is much easier to package in Debian I went
> >   for the latter ;)
> 
> Well, OTOH git-absorb already *is* in Debian :)

Could have fooled me, since the RFP is still open, haha. Guess I should
have checked in sid too :)

Another upside of the Perl implentation though: backporting to buster is
downright trivial. Though I guess with the bullseye release around the
corner that's not quite so important now.

> > - I plan to maintain this package myself, though I am looking for a
> >   sponsor.
> 
> I can probably sponsor it. Or you can ask in pkg-perl (cc'ed).

That'd be awesome, I'd be happy to put it under pkg-perl team-maintanance
as well though.

--Daniel


Reply to: