Lines Matching full:git
5 # control system git.
52 if test -n "$(git rev-parse --show-cdup 2>/dev/null)"; then
56 if ! head=$(git rev-parse --verify HEAD 2>/dev/null); then
70 desc=$(git describe --match=$tag 2>/dev/null)
79 desc=$(git describe --match=$tag 2>/dev/null)
85 desc=$(git describe --match=$tag 2>/dev/null)
93 # running further git commands
115 # You cannot use 'git describe --dirty' because it tries to create
116 # .git/index.lock .
117 # First, with git-status, but --no-optional-locks is only supported in
118 # git >= 2.14, so fall back to git-diff-index if it fails. Note that
119 # git-diff-index does not refresh the index, so it may give misleading
121 # See git-update-index(1), git-diff-index(1), and git-status(1).
123 git --no-optional-locks status -uno --porcelain 2>/dev/null ||
124 git diff-index --name-only HEAD
178 # signed tagged state (as git describe only looks at signed
179 # or annotated tags - git tag -a/-s).