On Fri, Feb 21, 2020 at 03:06:13AM +0000, Adam Milazzo wrote: > I wonder now why Git makes an effort of appearing to represent a full > set of Unix file permissions. Perhaps the idea was to leave the door > open to storing them in the future... I think to some degree it's the other way around. The very earliest versions of Git did track the full mode, but that turned out to be annoying (you'd record useless changes caused by umasks of different committers). It was changed in e44794706e (Be much more liberal about the file mode bits., 2005-04-16), which is quite early on. :) We do use the mode bits for other things, too. Subtrees are 040000, symlinks are 120000, and submodule "gitlinks" are 160000. -Peff