Subject: [PATCH V2 0/2] show-index: add warning and wrap error messages with gettext

From: Shreyansh Paliwal <[email-masked]>
Date: Fri, 30 Jan 2026 21:01:22 +0530

'git show-index' relies on implicit assumption in the absence
of repository context to fall back to SHA-1 as the hashing
algorithm.

patch 1/2: add a warning when this fallback happens.

patch 2/2: cleanup by adding gettext wrapping to all
user-facing error messages in show-index.c.

Shreyansh Paliwal (2):
  show-index: warn when falling back to SHA-1 outside a repository
  show-index: use gettext wrapping in user facing error messages

 builtin/show-index.c | 31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)

---
Changes in V2:
 - Split the original patch into two separate patches for better
    clarity and distinction.
 - Improved line wrapping to around ~70 columns.
-- 
2.52.0