[LEDE-DEV] [PATCH] scripts/getver.sh: use --count for git rev-list to count commits

Rafał Miłecki zajec5 at gmail.com
Thu Nov 17 01:10:39 PST 2016


On 17 November 2016 at 10:05, Rafał Miłecki <zajec5 at gmail.com> wrote:
> On 17 November 2016 at 09:57, Jo-Philipp Wich <jo at mein.io> wrote:
>> do you happen to know whether rev-list --count is available in all Git
>> versions?
>
> I found it mentioned in various posts from 2012 so it should be well settled.

More reliable source: it's first documented in 1.8.0:
https://git-scm.com/docs/git-rev-list/1.8.0
which was released in 2012.

-- 
Rafał



More information about the Lede-dev mailing list