# Why is there still git-rebase--am.sh?

2 messages from 2019-06-02 to 2019-06-02. Participants: Alban Gruin, Philip Oakley.
Thread: https://gitlist.dev/t/51223

## Alban Gruin, 2019-06-02 11:04

Subject: Why is there still git-rebase--am.sh?
Message-ID: <3322453.bNc8J3RWDa@andromeda>
URL: https://gitlist.dev/e/3322453.bNc8J3RWDa%40andromeda

```
Hi,

I was wandering in rebase’s source code, and found out that even though 
run_specific_rebase() no longer calls git-rebase--am.sh since 21853626ea 
("built-in rebase: call `git am` directly", 2019-01-18), this commit did not 
remove the code to call it.  I guess it was an oversight.

Now that git-legacy-rebase.sh is gone (since d03ebd411c, "rebase: remove the 
rebase.useBuiltin setting", 2019-03-18), I would expect this file to be 
completely removed, too.

May I send a patch to remove git-rebase--am.sh, or is there a reason to keep 
it?

Cheers,
Alban





```

## Philip Oakley, 2019-06-02 11:19

Subject: Re: Why is there still git-rebase--am.sh?
Message-ID: <ab655637-bb6d-436d-a822-31fa1a9495ed@iee.org>
URL: https://gitlist.dev/e/ab655637-bb6d-436d-a822-31fa1a9495ed%40iee.org
In-Reply-To: <3322453.bNc8J3RWDa@andromeda>

```
Hi Alban,

On 02/06/2019 12:04, Alban Gruin wrote:
> Hi,
>
> I was wandering in rebase’s source code, and found out that even though
> run_specific_rebase() no longer calls git-rebase--am.sh since 21853626ea
> ("built-in rebase: call `git am` directly", 2019-01-18), this commit did not
> remove the code to call it.  I guess it was an oversight.
>
> Now that git-legacy-rebase.sh is gone (since d03ebd411c, "rebase: remove the
> rebase.useBuiltin setting", 2019-03-18), I would expect this file to be
> completely removed, too.
>
> May I send a patch to remove git-rebase--am.sh, or is there a reason to keep
> it?
>
>
What's cooking (May 2019, #05; Thu, 30) has it in js/rebase-cleanup 
(2019-05-15) 5 commits, and will be cooked in next.
Philip

```
