fill_tree_descriptor(): mark error message for translation
commit342990c7aaef5ac645e89101cb84569caf64baf4
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 23 Feb 2024 08:34:25 +0000 (23 08:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Feb 2024 18:19:40 +0000 (23 10:19 -0800)
treedf4022c10e04e5edca64d3c2bea336d481c81630
parent5aca024a74e900bd9bc2c14a8e99494063ea4cc5
fill_tree_descriptor(): mark error message for translation

There is an error message in that function to report a missing tree; In
contrast to three other, similar error messages, it is not marked for
translation yet.

Mark it for translation, and while at it, make the error message
consistent with the others by enclosing the SHA in parentheses.

This requires a change to t6030 which expects the previous format of the
commit message. Theoretically, this could present problems with existing
scripts that use `git bisect` and parse its output (because Git does not
provide other means for callers to discern between error conditions).
However, this is unlikely to matter in practice because the most common
course of action to deal with fatal corruptions is to report the error
message to the user and exit, rather than trying to do something with
the reported SHA of the missing tree.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6030-bisect-porcelain.sh
tree-walk.c