diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2018-05-02 11:38:41 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-06 19:06:14 +0900 |
commit | c3c3486b246fffef82b5541ca2d2850b2fcf34d5 (patch) | |
tree | a03d18f6ba9f6345da431c67b11f26a5189daa36 /pathspec.c | |
parent | 033abf97fcbc247eabf915780181d947cfb66205 (diff) | |
download | git-c3c3486b246fffef82b5541ca2d2850b2fcf34d5.tar.gz |
Convert remaining die*(BUG) messages
These were not caught by the previous commit, as they did not match the
regular expression.
While at it, remove the localization from one instance: we never want
BUG() messages to be translated, as they target Git developers, not the
end user (hence it would be quite unhelpful to not only burden the
translators, but then even end up with a bug report in a language that
no core Git contributor understands).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pathspec.c')
-rw-r--r-- | pathspec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pathspec.c b/pathspec.c index a637a6d15c..27cd606786 100644 --- a/pathspec.c +++ b/pathspec.c @@ -486,7 +486,7 @@ static void init_pathspec_item(struct pathspec_item *item, unsigned flags, /* sanity checks, pathspec matchers assume these are sane */ if (item->nowildcard_len > item->len || item->prefix > item->len) { - die ("BUG: error initializing pathspec_item"); + BUG("error initializing pathspec_item"); } } |