summaryrefslogtreecommitdiff
path: root/builtin/commit-graph.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2019-03-25 13:08:34 +0100
committerJunio C Hamano <gitster@pobox.com>2019-04-01 12:14:50 +0900
commit93b4405ffe4ad9308740e7c1c71383bfc369baaa (patch)
tree24429f215fac54ac877cf5a27da005e8f5ca0f4c /builtin/commit-graph.c
parent43d356180556180b4ef6ac232a14498a5bb2b446 (diff)
downloadgit-93b4405ffe4ad9308740e7c1c71383bfc369baaa.tar.gz
commit-graph: improve & i18n error messages
Change the error emitted when a commit-graph file is corrupt so that we actually mention the commit-graph, e.g. change errors like: error: improper chunk offset 0000000000385e0c To: error: commit-graph improper chunk offset 0000000000385e0c As discussed in the commits leading up to this one the commit-graph machinery is now used by common commands like "status". If the graph was corrupt we'd often emit some error that gave no indication what was wrong. Now some of them are still cryptic, but they'll at least mention "commit-graph" to give the user a hint as to where to look. While I'm at it mark some of the strings that hadn't been marked for translation. It's clear from the commit history and the code that this was merely forgotten at the time, and wasn't intentional.p5 Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions