add: mark --chmod error string for translation
authorMatheus Tavares <redacted>
Tue, 23 Feb 2021 01:10:34 +0000 (22:10 -0300)
committerJunio C Hamano <redacted>
Wed, 24 Feb 2021 20:14:51 +0000 (12:14 -0800)
commit48960894f5a89639809bdad5618439ba59869522
tree3ca0a99bb729b6aff384806967ccdc3f9bc33e07
parentc937d70bfb7661d5122e08758ae0531073a719ed
add: mark --chmod error string for translation

This error message is intended for humans, so mark it for translation.
Also use error() instead of fprintf(stderr, ...), to make the
corresponding line a bit cleaner, and to display the "error:" prefix,
which helps classifying the nature/severity of the message.

Signed-off-by: Matheus Tavares <redacted>
Reviewed-by: Taylor Blau <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/add.c
t/t3700-add.sh
git clone https://git.99rst.org/PROJECT