setup_git_env: convert die("BUG") to BUG()
authorJeff King <redacted>
Sat, 13 May 2017 03:29:18 +0000 (23:29 -0400)
committerJunio C Hamano <redacted>
Mon, 15 May 2017 02:30:00 +0000 (11:30 +0900)
commit588a538ae554f61a37d43c972da75d0f7c3ed484
tree97c3c46b9d2b8468faa7d134c9757b8c520087c8
parentd8193743e0883e7331c102a4d04cee5324eb3b5f
setup_git_env: convert die("BUG") to BUG()

Converting to BUG() makes it easier to detect and debug
cases where we hit this assertion. Coupled with a new test
in t1300, this shows that the test suite can detect such
corner cases.

Signed-off-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
environment.c
t/t1300-repo-config.sh
git clone https://git.99rst.org/PROJECT