summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2019-03-25 13:08:34 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-04-01 12:14:50 +0900
commit93b4405ffe4ad9308740e7c1c71383bfc369baaa (patch)
tree24429f215fac54ac877cf5a27da005e8f5ca0f4c /commit.c
parentcommit-graph write: don't die if the existing graph is corrupt (diff)
downloadtgif-93b4405ffe4ad9308740e7c1c71383bfc369baaa.tar.xz
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 'commit.c')
0 files changed, 0 insertions, 0 deletions