-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Why keep git "detached HEAD" warning? #36173
Comments
Can I ask why? In core, we prefer tarballs unless the repository has submodules (which are not included in the generated tarballs). Unfortunately this particular message comes from the checkout performed implicitly by |
Because I'm partial to git tags; while tarballs have their use, I don't "need" them as I "need" git. Separate sha256 checksums are nice too, but git already checks that the code isn't corrupted (I don't treat hashes as a security measure).
I'm sure the output can be captured and cleaned up. Displaying the commit hash makes a lot of sense, but don't really see the warning as having any kind of relevance to the output. Oh well, not a huge deal for me personally. Thanks! |
Question answered, closing. |
I have a couple of formulae in a tap of my own. An hour ago I switched to using git plus tags instead of
.tar.gz
urls plus sha checksums. Already I have ajqnpm
user (as well as developer of a related project) asking why this message came up; he seems worried users will be frightened off by talk about "detached HEADs".Should the message be hidden, or perhaps cropped to display only the first line with the hash?
(If you really want to use
jqnpm
, also dobrew install --HEAD jq
to getjq
v1.5rc1+.)The text was updated successfully, but these errors were encountered: