Re: How to determine the number of unique recent committers on a branch?

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

 



On Wed, Mar 23, 2022 at 1:33 PM Ævar Arnfjörð Bjarmason
<avarab@xxxxxxxxx> wrote:

> I think --since to "rev-list" combined with e.g. "shortlog" is what you
> want here, e.g. on git.git:
>
>         $ git -P shortlog --since=2.weeks.ago -sn origin/master

But that still interprets "2.weeks.ago" relative to today, right? So,
for a repo to which no one committed to in the last 2 weeks, it would
show nothing. But what I'd like to get is the number of committers
since 2 weeks before the latest commit. Any idea how to get that
easily?

-- 
Sebastian Schuberth




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux