Lines Matching full:git
5 # control system git.
39 if [ "$(git cat-file -t "$tag" 2> /dev/null)" != tag ]; then
45 set -- $(git rev-list --count --left-right "$tag"...HEAD 2> /dev/null)
48 # string comparison, because $1 is empty if the 'git rev-list'
77 if test -n "$(git rev-parse --show-cdup 2>/dev/null)"; then
81 if ! head=$(git rev-parse --verify HEAD 2>/dev/null); then
118 # running further git commands
141 # You cannot use 'git describe --dirty' because it tries to create
142 # .git/index.lock .
143 # First, with git-status, but --no-optional-locks is only supported in
144 # git >= 2.14, so fall back to git-diff-index if it fails. Note that
145 # git-diff-index does not refresh the index, so it may give misleading
147 # See git-update-index(1), git-diff-index(1), and git-status(1).
149 git --no-optional-locks status -uno --porcelain 2>/dev/null ||
150 git diff-index --name-only HEAD
204 # signed tagged state (as git describe only looks at signed
205 # or annotated tags - git tag -a/-s).