1
0
mirror of https://github.com/git/git.git synced 2024-09-25 06:21:42 +02:00
git/t/helper
Johannes Schindelin 033abf97fc Replace all die("BUG: ...") calls by BUG() ones
In d8193743e0 (usage.c: add BUG() function, 2017-05-12), a new macro
was introduced to use for reporting bugs instead of die(). It was then
subsequently used to convert one single caller in 588a538ae5
(setup_git_env: convert die("BUG") to BUG(), 2017-05-12).

The cover letter of the patch series containing this patch
(cf 20170513032414.mfrwabt4hovujde2@sigill.intra.peff.net) is not
terribly clear why only one call site was converted, or what the plan
is for other, similar calls to die() to report bugs.

Let's just convert all remaining ones in one fell swoop.

This trick was performed by this invocation:

	sed -i 's/die("BUG: /BUG("/g' $(git grep -l 'die("BUG' \*.c)

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-05-06 19:06:13 +09:00
..
.gitignore Merge branch 'sb/test-helper-excludes' 2017-12-27 11:16:29 -08:00
test-chmtime.c Merge branch 'ps/test-chmtime-get' 2018-04-25 13:29:00 +09:00
test-config.c t/helper: merge test-config into test-tool 2018-03-27 08:45:47 -07:00
test-ctype.c t/helper: merge test-ctype into test-tool 2018-03-27 08:45:47 -07:00
test-date.c t/helper: merge test-date into test-tool 2018-03-27 08:45:47 -07:00
test-delta.c t/helper: merge (unused) test-delta into test-tool 2018-03-27 08:45:47 -07:00
test-drop-caches.c t/helper: merge test-drop-caches into test-tool 2018-03-27 08:45:47 -07:00
test-dump-cache-tree.c t/helper: merge test-dump-cache-tree into test-tool 2018-03-27 08:45:47 -07:00
test-dump-fsmonitor.c fsmonitor: add a test tool to dump the index extension 2017-10-01 17:23:05 +09:00
test-dump-split-index.c t/helper: merge test-dump-split-index into test-tool 2018-03-27 08:45:47 -07:00
test-dump-untracked-cache.c dir: convert struct sha1_stat to use object_id 2018-01-30 10:42:36 -08:00
test-example-decorate.c Replace all die("BUG: ...") calls by BUG() ones 2018-05-06 19:06:13 +09:00
test-fake-ssh.c
test-genrandom.c t/helper: merge test-genrandom into test-tool 2018-03-27 08:45:47 -07:00
test-hashmap.c t/helper: merge test-hashmap into test-tool 2018-03-27 08:45:47 -07:00
test-index-version.c t/helper: merge test-index-version into test-tool 2018-03-27 08:45:47 -07:00
test-lazy-init-name-hash.c t/helper: merge test-lazy-init-name-hash into test-tool 2018-03-27 08:45:47 -07:00
test-line-buffer.c test-line-buffer: simplify command parsing 2017-09-22 12:49:53 +09:00
test-match-trees.c t/helper: merge (unused) test-match-trees into test-tool 2018-03-27 08:45:47 -07:00
test-mergesort.c t/helper: merge (unused) test-mergesort into test-tool 2018-03-27 08:45:47 -07:00
test-mktemp.c t/helper: merge test-mktemp into test-tool 2018-03-27 08:45:47 -07:00
test-online-cpus.c t/helper: merge test-online-cpus into test-tool 2018-03-27 08:45:47 -07:00
test-parse-options.c t0040,t1502: Demonstrate parse_options bugs 2017-09-25 14:35:50 +09:00
test-path-utils.c t/helper: merge test-path-utils into test-tool 2018-03-27 08:45:47 -07:00
test-prio-queue.c t/helper: merge test-prio-queue into test-tool 2018-03-27 08:45:47 -07:00
test-read-cache.c t/helper: merge test-read-cache into test-tool 2018-03-27 08:45:47 -07:00
test-ref-store.c Merge branch 'nd/combined-test-helper' 2018-04-11 13:09:56 +09:00
test-regex.c t/helper: merge test-regex into test-tool 2018-03-27 08:45:47 -07:00
test-revision-walking.c t/helper: merge test-revision-walking into test-tool 2018-03-27 08:45:47 -07:00
test-run-command.c t/helper: merge test-run-command into test-tool 2018-03-27 08:45:47 -07:00
test-scrap-cache-tree.c t/helper: merge test-scrap-cache-tree into test-tool 2018-03-27 08:45:47 -07:00
test-sha1-array.c t/helper: merge test-sha1-array into test-tool 2018-03-27 08:45:47 -07:00
test-sha1.c t/helper: merge test-sha1 into test-tool 2018-03-27 08:45:47 -07:00
test-sha1.sh t/helper: merge test-sha1 into test-tool 2018-03-27 08:45:47 -07:00
test-sigchain.c t/helper: merge test-sigchain into test-tool 2018-03-27 08:45:47 -07:00
test-strcmp-offset.c t/helper: merge test-strcmp-offset into test-tool 2018-03-27 08:45:47 -07:00
test-string-list.c t/helper: merge test-string-list into test-tool 2018-03-27 08:45:47 -07:00
test-submodule-config.c t/helper: merge test-submodule-config into test-tool 2018-03-27 08:45:47 -07:00
test-subprocess.c t/helper: merge test-subprocess into test-tool 2018-03-27 08:45:47 -07:00
test-svn-fe.c
test-tool.c test-tool: help verifying BUG() code paths 2018-05-06 19:06:13 +09:00
test-tool.h t/helper: merge test-write-cache into test-tool 2018-03-27 08:45:47 -07:00
test-urlmatch-normalization.c t/helper: merge test-urlmatch-normalization into test-tool 2018-03-27 08:45:47 -07:00
test-wildmatch.c t/helper: merge test-wildmatch into test-tool 2018-03-27 08:45:47 -07:00
test-write-cache.c t/helper: merge test-write-cache into test-tool 2018-03-27 08:45:47 -07:00