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

From: Joe Perches

Date: Sun Feb 22 2026 - 12:51:10 EST


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