version
This file
The walk stopped after 200 commits: lines older than c8b30df point at it.
Add JQ_FALLTHROUGH and use it to quiet warningsNicolas Williamsbefore adoptionc8b30df
lines 1–13why, one step back1#!/bin/sh2set -eu34cd "$(dirname "$0")/../"5test -d .git || exit 167if git describe --tags --match 'jq-*' >/dev/null 2>&1; then8 git describe --tags --match 'jq-*' --dirty | sed 's/^jq-//'9else10 branch=$(git rev-parse --abbrev-ref HEAD)11 commit=$(git describe --always --dirty)12 echo "${branch}-${commit}"13fi