builtin/add: add detail to a 'cannot chmod' error message
commit1e22a9917b48809a1825f79c66e58e9b1b1da08a
authorRamsay Jones <ramsay@ramsayjones.plus.com>
Wed, 9 Aug 2017 00:51:23 +0000 (9 01:51 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Aug 2017 17:14:45 +0000 (9 10:14 -0700)
treec34b5410f19a6918a96cbcaaf3c312400cbf9536
parent610d55af0f082f6b866dc858e144c03d8ed4424c
builtin/add: add detail to a 'cannot chmod' error message

In addition to adding the missing newline, add the x-ecutable bit
'mode change' character to the error message. This message now has
the same form as similar messages output by 'update-index'.

Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/add.c