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

Re: git-core: git-push corrupts repository on hfsplus file system



reassign 513088 linux-2.6
thanks

Hi Garcia,

Garcia Juan wrote:
> Package: git-core
> Version: 1:1.5.6.5-2
> Severity: important
> 
> 
> I'd like to have a bare repository on an ipod (hfsplus formatted) for back-up purposes.
> After creation of repository, cloning (on a different machine to avoid eventual hardlinks problems)
> and pushing, git-fsck says everything is fine, but after mount and remount git-fsck fails.
[...]
> After inspecting files on bare repository, it seems that there is a problem with hardlinks,
> excerpt of "ls -lR" output before unmount (notice the zero for objects hardlinks)
> 
> ./objects:
> total 0
> drwxr-xr-x 1 garcia garcia 3 jan 26 09:58 01
> drwxr-xr-x 1 garcia garcia 3 jan 26 09:58 3a
> drwxr-xr-x 1 garcia garcia 3 jan 26 09:58 ee
> drwxr-xr-x 1 garcia garcia 3 jan 23 18:36 info
> drwxr-xr-x 1 garcia garcia 4 jan 23 18:36 pack

This should not be possible, so reassigning to kernel. ;-)

I am hoping commit v2.6.25-rc9~30 (HFS+: fix unlink of links,
2008-04-09) fixes this.  At least, that might be a good place to start
investigating.

If you can still reproduce this, could you check if some kernel
before that commit fails and some kernel afterwards succeeds?  For
example, trying it out with linux-image-2.6.24-etchnhalf.1-686 (from
etch) and linux-image-2.6.26-1-686 (from lenny) would be helpful.

Thanks for the report,
Jonathan

Please CC me on replies.


Reply to: