drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / scripts / check-git
blob2ca6c5df10dd774e38c1cd560da7f8cde3c103b7
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0-only
4 # succeed if we are in a git repository
6 srctree="$(dirname $0)/.."
8 if ! git -C "${srctree}" rev-parse --verify HEAD >/dev/null 2>/dev/null; then
9 exit 1
12 if ! test -z $(git -C "${srctree}" rev-parse --show-cdup 2>/dev/null); then
13 exit 1