projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
t5500: add tests of fetch-pack --all --depth=N $URL $REF
[git.git]
/
gettext.h
diff --git
a/gettext.h
b/gettext.h
index 57ba8bb02e39d59752a5b2fbf016bc6fe49d27c1..376297bf730d421fa13237350d2beeb525be5ec4 100644
(file)
--- a/
gettext.h
+++ b/
gettext.h
@@
-44,6
+44,8
@@
extern int use_gettext_poison(void);
static inline FORMAT_PRESERVING(1) const char *_(const char *msgid)
{
+ if (!*msgid)
+ return "";
return use_gettext_poison() ? "# GETTEXT POISON #" : gettext(msgid);
}