<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<div><span style="color: rgb(48, 48, 48); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;"><span class="" style="font-family:-apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol""><span class="" style="font-size:16px">Dear list,</span></span></span><br></div><div dir="auto"><br></div><div dir="auto"><span style="color: rgb(48, 48, 48); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;"><span class="" style="font-family:-apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol""><span class="" style="font-size:16px">During a verbose flatpak build, I would like to turn off the </span></span></span>'detached HEAD' state log message shown for git sources. (the message starts with "You are in 'detached HEAD' state. You can look around, make experimental changes" etc, I think you know which one I mean).<br></div><div dir="auto"><br></div><div dir="auto">As part of the log message, the text "Turn off this advice by setting config variable advice.detachedHead to false" is shown, which sounds like a reasonably easy task one might think.</div><div dir="auto"><br></div><div dir="auto">I have tried to specify the following globally (in the top section, near app-id) in the manifest, but it does not seem to have any effect.<br></div><div dir="auto"><br></div><div dir="auto">```yaml<br></div><div dir="auto">build-options:<br></div><div dir="auto"> env:<br></div><div dir="auto"> GIT_CONFIG_COUNT: 1<br></div><div dir="auto"> GIT_CONFIG_KEY_0: advice.detachedHead<br></div><div dir="auto"> GIT_CONFIG_VALUE_0: false<br></div><div dir="auto">```<br></div><div style="16px"><br></div><div dir="auto">To clarify, I do like the verbose output shown when providing the --verbose flag: just not the specific verbose git message regarding the detached state. <br></div><div dir="auto"><br></div><div dir="auto">What, if anything, can I do to configure advice.detachedHead or by other means hide the 'detached HEAD' state git log messages?<br></div><div dir="auto"><br></div><div dir="auto">Many thanks in advance.</div><div dir="auto"><br></div><div dir="auto">Best regards,</div><div style="16px">Olof Nord<br></div> </body>
</html>