bug-gnulib
[Top][All Lists]
Advanced

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

`build-aux/git-version-gen` always requires $1 even in a git repo


From: Cedric Sun
Subject: `build-aux/git-version-gen` always requires $1 even in a git repo
Date: Mon, 26 Sep 2022 21:45:35 +0800

Hi,

According to line #21 comment in that file, niladic invocation of the script should work in a git repo without a `.tarball-version` file.

The behavior is currently different, and requires $1 argument to be provided even inside a git repo. When that's the case, any dummy $1 works:

    cd gnulib-git
    ./build-aux/git-version-gen    # $usage printed
    ./build-aux/git-version-gen foobar    # `0.1.5512-15498`

I'm not sure if this is by design (for backward compatibility?) or a bug.

Regards,

-vc

reply via email to

[Prev in Thread] Current Thread [Next in Thread]