Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

enable abbreviated commit object as fallback #1530

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ydcool
Copy link

@ydcool ydcool commented Feb 1, 2021

enable abbreviated commit object as fallback when getting version at building

Signed-off-by: Dominic Yin [email protected]

Ⅰ. Describe what this PR did

In some situations there could be no tag info in repo if user did not run git fetch --tags by hand, which will leads to error on git describe --tags

Ⅱ. Does this pull request fix one issue?

NONE

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant