Details
-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
None
-
None
-
04e77034f (2.6)
Description
The vcs module in Qbs currently relies on the logs/HEAD file to check if a Git repository is empty. However, during CI builds, the logs/HEAD file does not exist, causing the check to fail. To solve this, I propose replacing the check with git rev-list HEAD --count, which works reliably in both local and CI environments.
Attachments
For Gerrit Dashboard: QBS-1814 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
637721,2 | vcs: support the case when logs/HEAD is removed | 2.6 | qbs/qbs | Status: MERGED | +2 | +1 |