]> git.ipfire.org Git - thirdparty/git.git/commit
strbuf: add xstrdup_toupper()
authorLars Schneider <larsxschneider@gmail.com>
Thu, 15 Feb 2018 15:27:06 +0000 (16:27 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Feb 2018 19:36:15 +0000 (11:36 -0800)
commit13ecb4638ed92a56e855d2e6d3a9b71c4125eb51
treee41558dc45dea5b4dd1a61c9440edada8f351b37
parenta8270b0980f88a918f9135e02e86ac6143848d95
strbuf: add xstrdup_toupper()

Create a copy of an existing string and make all characters upper case.
Similar xstrdup_tolower().

This function is used in a subsequent commit.

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
strbuf.c
strbuf.h