git can't read file

der.hans PLUGd at LuftHans.com
Thu Nov 3 15:42:42 MST 2022


moin moin,

I tried to get the error in English.

----
$ LANG=en_US git add Infos.adoc
$ LANG=en_US git commit Infos.adoc -m 'Infos zur Vortraege'
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
warning: The last gc run reported the following. Please correct the root
cause
and remove .git/gc.log.
Automatic cleanup will not be performed until the file is removed.

fatal: kann 68eb6d43932bb63c600911ef6592a522d6eda333 nicht lesen
fatal: failed to run repack

[master 783813fb6] Infos zur Vortraege
  1 file changed, 47 insertions(+)
  create mode 100644 Commerz/Fachpräsentation/2022/Tux-Tage/Infos.adoc
$
----

fatal: can't read 68eb6d43932bb63c600911ef6592a522d6eda333

Any suggestions on how to find what that file is?

What I'm finding online make it seem like that might have been a temporary
file that git cleaned up, but git didn't say anything about cleaning up a
file.

Those error lines are in .git/gc.log and the hasn't changed in a few hours
despite new commits. Is git just kicking those out to me no matter what
because they're in the gc.log file? Do I just need to remove that and see
if the problem goes away?

----
$ cat
.git/gc.log
fatal: kann 68eb6d43932bb63c600911ef6592a522d6eda333 nicht lesen
fatal: failed to run repack
$
----

ciao,

der.hans
-- 
#  https://www.LuftHans.com   https://www.PhxLinux.org
#  Magic is science unexplained. - der.hans


More information about the PLUG-discuss mailing list