summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorNeeraj Singh <neerajsi@microsoft.com>2022-03-30 18:14:15 +0000
committerJunio C Hamano <gitster@pobox.com>2022-03-30 14:46:47 -0700
commitc4e707f858813c097bd8b488baae07096aa280ad (patch)
treef172be5059e3fc91ef9e289d6dd461bb3d5a6f84 /contrib/persistent-https
parent805e0a68082a217f0112db9ee86a022227a9c81b (diff)
downloadgit-c4e707f858813c097bd8b488baae07096aa280ad.tar.gz
git-c4e707f858813c097bd8b488baae07096aa280ad.zip
object-file: pass filename to fsync_or_die
If we die while trying to fsync a loose object file, pass the actual filename we're trying to sync. This is likely to be more helpful for a user trying to diagnose the cause of the failure than the former 'loose object file' string. It also sidesteps any concerns about translating the die message differently for loose objects versus something else that has a real path. Reported-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Neeraj Singh <neerajsi@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions