mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Askar Safin <safinaskar@gmail.com>
To: joe@perches.com
Cc: linux-kernel@vger.kernel.org
Subject: Bug: get_maintainer: another bug: GitAuthor and Bad divisor in main::vcs_assign: 0
Date: Wed,  4 Mar 2026 08:36:44 +0300	[thread overview]
Message-ID: <20260304053644.2115708-1-safinaskar@gmail.com> (raw)

Hi. I found a bug in get_maintainer.pl .

This bug is similar to previous one
( https://lore.kernel.org/lkml/20260222161826.2858606-1-safinaskar@gmail.com/ ),
but, in my opinion, is distinct.

Steps to reproduce:

==== begin ====

Perform full clone of git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git , then:

d-user@comp:/tmp/LINUX2$ cd linux
d-user@comp:/tmp/LINUX2/linux$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
d-user@comp:/tmp/LINUX2/linux$ git branch foo
d-user@comp:/tmp/LINUX2/linux$ git switch foo
Switched to branch 'foo'
d-user@comp:/tmp/LINUX2/linux$ echo a >> usr/default_cpio_list
d-user@comp:/tmp/LINUX2/linux$ GIT_COMMITTER_EMAIL='safinaskar@gmail.com' git commit -a -m bar --author='Askar Safin <safinaskar@gmail.com>'
[foo 88140488e43c] bar
 1 file changed, 1 insertion(+)
d-user@comp:/tmp/LINUX2/linux$ scripts/get_maintainer.pl --no-rolestats --no-multiline -f usr/default_cpio_list
Bad divisor in main::vcs_assign: 0
Nathan Chancellor <nathan@kernel.org>, Nicolas Schier <nsc@kernel.org>, "GitAuthor: Askar Safin" <safinaskar@gmail.com>, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org

==== end ====

I see two problems here. First, I see message "Bad divisor in main::vcs_assign: 0".
Note that this time this is full clone of Linux.

Second, I see this weird "GitAuthor" string. I don't like this.
I intentionally pass "--no-rolestats --no-multiline" to make sure that
I can copy-paste output to "To" field of a mail. But this "GitAuthor"
means that I should manually edit the output. This prevents
automation.

-- 
Askar Safin

             reply	other threads:[~2026-03-04  5:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-04  5:36 Askar Safin [this message]
2026-03-04  6:00 ` Joe Perches
2026-03-04 22:37   ` Askar Safin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260304053644.2115708-1-safinaskar@gmail.com \
    --to=safinaskar@gmail.com \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®