Skip to content

Use git rev-parse to determine if in git clone#126

Merged
ngie-eign merged 1 commit intofreebsd:masterfrom
ngie-eign:ci-use-git-rev-parse
Jan 31, 2026
Merged

Use git rev-parse to determine if in git clone#126
ngie-eign merged 1 commit intofreebsd:masterfrom
ngie-eign:ci-use-git-rev-parse

Conversation

@ngie-eign
Copy link
Contributor

The prior code used a simple dirname + .git path existence check to determine if the source tree was a git clone. Use git rev-parse instead to get this information as it's a more reliable/holistic way of obtaining the same info.

The prior code used a simple dirname + .git path existence check to
determine if the source tree was a `git clone`. Use `git rev-parse`
instead to get this information as it's a more reliable/holistic way of
obtaining the same info.

Signed-off-by: Enji Cooper <ngie@FreeBSD.org>
@ngie-eign ngie-eign merged commit 67a996a into freebsd:master Jan 31, 2026
2 checks passed
@ngie-eign ngie-eign deleted the ci-use-git-rev-parse branch January 31, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant