Re: Bug: get_maintainer: Bad divisor in main::vcs_assign: 0

From: Askar Safin

Date: Sun Feb 22 2026 - 17:12:01 EST


On Sun, Feb 22, 2026 at 8:26 PM Joe Perches <joe@xxxxxxxxxxx> wrote:
> On Sun, 2026-02-22 at 19:18 +0300, Askar Safin wrote:
> > Hi. I found a bug in get_maintainer.pl: it sometimes shows message
> > "Bad divisor in main::vcs_assign: 0". Here are exact steps to
> > reproduce:
> It's not really a bug, it's a specific message in get_maintainer
> that you don't have depth in your git repository.
>
> If you want to avoid the message, use --nogit --nogit-fallback

Thank you for quick answer.

I think current error message is bad. It looks like bug in script itself.
It should be "your git repo is not full" or something similar.

--
Askar Safin