Re: modification of sources file causes git corruption.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 31, 2010 at 10:58:26PM -0700, Matt McCutchen wrote:

 > That's not "corruption", that's just an unreferenced object, which does
 > no harm except to waste space.  "git gc" will delete such objects.
 
(20:50:18:davej@gelk:kernel)$ git fsck --full
dangling blob 41bc432a23a83d5775562572936792fc25aa9380
(20:50:29:davej@gelk:kernel)$ git gc
Counting objects: 395, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (274/274), done.
Writing objects: 100% (395/395), done.
Total 395 (delta 119), reused 388 (delta 115)
(20:50:31:davej@gelk:kernel)$ git fsck --full
dangling blob 41bc432a23a83d5775562572936792fc25aa9380

I've just been deleting them by hand from .git/objects/ 
but at the frequency the kernel rebases, this is a pain.

They may be harmless, but if something was to go wrong, they'd make figuring
out what happened more complicated.

	Dave

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux