coreboot-kgpe-d16/util
Alex Thiessen da384dd7a4 util/release: Improve git worktree checks
The bash script `genrelnotes` checks for `.git` to be present to
determine whether the current directory is the top directory of a git
worktree. This check is rather weak and doesn't handle many edge cases
like that of a broken gitfile.

Add a proper `git rev-parse` call to check the condition.

Change-Id: I32b06ca982d55fd8e88e55651b6bc53014905823
Signed-off-by: Alex Thiessen <alex.thiessen.de+coreboot@gmail.com>
Reviewed-on: https://review.coreboot.org/23252
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2018-01-17 16:54:22 +00:00
..
abuild
acpi
amdfwtool util/amdfwtool: Add option for directory location 2017-10-05 02:49:09 +00:00
amdtools
archive
arm_boot_tools/mksunxiboot
autoport autoport: Add Intel PCIe Root Port and Bridges 2018-01-07 18:46:24 +00:00
bimgtool
blobtool
board_status board_status/towiki: Fix link to last report for "clone" boards 2017-10-20 02:22:23 +00:00
broadcom util/broadcom/secimage: Add OpenSSL 1.1 support 2018-01-14 23:11:40 +00:00
cbfstool util/cbfstool: Check for NULL before dereference 2017-12-20 16:35:13 +00:00
cbmem util/cbmem: Print timestamp frequency in verbose mode 2017-12-12 22:27:05 +00:00
checklist
chromeos
crossgcc buildgcc: Add patch to work around Musl libc issue 2018-01-15 01:15:27 +00:00
docker util/docker: add support for crossgcc building params 2017-11-05 02:31:16 +00:00
dtd_parser
ectool
exynos
futility
fuzz-tests
genbuild_h util/genbuild_h: improve robustness against corrupt .git directories 2017-10-20 09:40:09 +00:00
genprof
gitconfig util/gitconfig: Refuse to commit on lint failure 2018-01-11 22:09:33 +00:00
hugo
ifdfake
ifdtool util/ifdtool: Fix region limitation check 2017-10-22 01:51:17 +00:00
intelmetool util/intelmetool: Fix some platforms 2017-11-30 17:19:08 +00:00
inteltool inteltool: Dump Sunrise Point PCH-H GPIO groups 2018-01-15 01:18:36 +00:00
intelvbttool
ipqheader
k8resdump util/*: don't strip executables 2017-10-29 08:48:56 +00:00
kbc1126
kconfig
lint util/lint: Check license headers of git hooks 2018-01-10 09:50:37 +00:00
marvell
me_cleaner
mma
msrtool
mtkheader
nvidia
nvramtool nvramtool: Add dummy cmos-hw-unix accessor implementation for non-x86 2017-12-09 16:56:09 +00:00
optionlist
post
release util/release: Improve git worktree checks 2018-01-17 16:54:22 +00:00
riscvtools
rockchip
romcc smbus: Fix a typo ("Set the device I'm talking too") 2017-09-27 16:38:18 +00:00
sconfig
scripts util: Make TZ environment variable POSIX compatible 2017-10-14 11:28:14 +00:00
showdevicetree
spkmodem_recv
superiotool util/superiotool: dump VT1211 registers 2018-01-15 00:42:43 +00:00
testing
uio_usbdebug
vgabios
viatool
xcompile