gnunet-developers
[Top][All Lists]
Advanced

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

[PATCH] Fix git detection when cloned as submodule


From: Dan Church
Subject: [PATCH] Fix git detection when cloned as submodule
Date: Mon, 9 Jan 2023 14:00:54 -0600
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1

Hi GNUNet devs!

I found an issue where VERSION and PACKAGE_VERSION would always be set to 'unknown' if gnunet was cloned as a git submodule.

Steps to repro:

mkdir superproject
cd superproject
git init
git submodule add https://git.gnunet.org/gnunet.git
cd gnunet
contrib/get_version.sh

At this point, 'unknown' will print if this is still an issue.

With the attached fix, '0.19.2-6-gbe0ba43d7' will print.


--

Regards,
Dan Church
🌎 web: h3xx.codeberg.page
"If I am to be judged by those who come after me, let me be judged for the truth." — Raistlin Majere

Attachment: 0001-Fix-git-detection-when-cloned-as-submodule.patch
Description: Text document


reply via email to

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