usage.c: add warning_errno() and error_errno()
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 8 May 2016 09:47:22 +0000 (16:47 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 May 2016 19:29:08 +0000 (12:29 -0700)
commitfd1d672300f36b2b06c2951ec450de0cf8f17797
tree41ed0d3c4b16ac0afcd2e00b9e2f7f0f18d87433
parent58e4e5118ae3707b417a19e8dc9224ac25c3f32f
usage.c: add warning_errno() and error_errno()

Similar to die_errno(), these functions will append strerror()
automatically.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-compat-util.h
usage.c