mbox series

[v2,0/2] rev-parse: Fix segfault and translate messages

Message ID 20210517080243.10191-1-wolf@oriole.systems (mailing list archive)
Headers show
Series rev-parse: Fix segfault and translate messages | expand

Message

Wolfgang Müller May 17, 2021, 8:02 a.m. UTC
This series fixes a segfault in rev-parse and, whilst we're there, marks
previously untranslated error messages for translation.

Compared to v1, this series simplifies the test for --path-format
without and argument and adds the translation fix on top.

Wolfgang Müller (2):
  rev-parse: fix segfault with missing --path-format argument
  rev-parse: Mark die() messages for translation

 builtin/rev-parse.c  | 30 ++++++++++++++++--------------
 t/t1500-rev-parse.sh |  4 ++++
 2 files changed, 20 insertions(+), 14 deletions(-)