I am using git, but in a centralized manor. I have a server hosting a repo that we pull/push to. I noticed a couple of the folders in the repo when pulled/cloned on another machine are empty (noticed this when I got a new computer and cloned the repo to is). I looked on the gitolite web interface and the permissions of these folders are “m———“, where as the others are drwxr-xr-x. I am not sure how it even got this way… I have tried a few things but am not able to fix it.
I am using git, but in a centralized manor. I have a server hosting
Share
That could be explained, in the gitweb source by:
With
S_IFGITLINK => 0160000, which is a special mode for submodulesSince 2007 and this patch, submodule entries are shown in gitweb:
So they aren’t empty directories, only submodules root directories.
See “Git – easy way pull latest of all submodules” for more.