4 ms·
interesting % /usr/bin/jq --version jq-1.6-159-apple-gcff5336-dirty
by jxy 2y ago
interesting
% /usr/bin/jq --version
jq-1.6-159-apple-gcff5336-dirty
- shawn_w 2y ago1.6? Wonder why they went with an outdated version.
- krelas 2y agoIf you think this is bad then don’t check the version of bash it ships with.
- mdaniel 2y agoI can't know what "-dirty" implies, but https://github.com/jqlang/jq/commit/cff5336 https://github.com/jqlang/jq/commit/cff5336 is a pretty random commit from 2022 :-( https://github.com/apple-oss-distributions/distribution-macOS/tree/rel/macOS-14 https://github.com/apple-oss-distributions/distribution-macO... hasn't been updated with a "jq" directory yet
- int_19h 2y ago"dirty" usually means that the commit doesn't correspond to any specific version tag in the repo (or whatever other mechanism is used to map commits to versions).
- mdaniel 2y agoIncorrect: https://git-scm.com/docs/git-describe#Documentation/git-describe.txt---dirtyltmarkgt https://git-scm.com/docs/git-describe#Documentation/git-desc... > If the working tree has local modification "-dirty" is appended to it. and one can see their invocation of --dirty here: https://github.com/jqlang/jq/blob/cff5336ec71b6fee396a95bb0e4bea365e0cd1e8/configure.ac#L4 https://github.com/jqlang/jq/blob/cff5336ec71b6fee396a95bb0e...