New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git config --global column.ui {auto,always}
breaks version resolution
#7343
Comments
I am so glad you posted this issue here. I would have never been able to figure out why this bug is happening for me... 😅 |
I have been trying to figure out this error for the past week. Setting Update: |
git config --global column.ui {auto,always}
breaks spm version resolutiongit config --global column.ui {auto,always}
breaks version resolution
Description
SPM, has a few places where it assumes git tags (& possibly other output) are split by newline. From a user's perspective you get a misleading error message:
Here's an example of the spm code that I think is causing the issue. This could be avoided with either:
git -c column.ui=never tag
orgit tag --no-column
.Expected behavior
global git ui configuration shouldn't break SPM
Actual behavior
Obscure error message, that left me slightly perplexed.
Steps to reproduce
git config --global column.ui always
Swift Package Manager version/commit hash
main
Swift & OS version (output of
swift --version ; uname -a
)swift-driver version: 1.87.3 Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
Target: arm64-apple-macosx14.0
Darwin JM9JHGY76P 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:44 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6000 arm64
The text was updated successfully, but these errors were encountered: