Domanda

I'm considering implementing a very basic FUSE-based daemon. The problem is that I don't think I will be able to implement symlink support (so then when some app requires this feature to the filesystem I will simply return the errno ENOSYS at runtime).

Then the question is about git internals: when you commit and push things to git, are symlinks a fundamental thing that git uses internally inside the .git folder? Will I be able to use git with my FUSE-based mountpoint?

È stato utile?

Soluzione

No, git doesn't use symbolic links internally. However, by default, it does use hardlinks for files under .git/objects while cloning from local repository. You can bypass that with --no-hardlinks.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top