3 ms·
Actually, the Git data model supports empty directories, however, the index doesn't since it only maps names to files but not to directories. You can even creat
by lucasoshiro 8mo ago
Actually, the Git data model supports empty directories, however, the index doesn't since it only maps names to files but not to directories. You can even create a commit with a root directory using --allow-empty, and it will use the hardcoded empty tree object (4b825dc642cb6eb9a060e54bf8d69288fbee4904).