Fraser Speirs: ‘A Subversion User Looks at Git’

Git’s suddenly getting a bit of attention from Mac developers — Michael Tsai wrote about it last week. Speirs has a good observation about one of the advantages to Git’s simpler file system layout:

There’s one .git directory at the root of the repository and absolutely nothing else. Anyone who has had to check RTFd files into Subversion and then edit those files with TextEdit will be cheering right about now. For those who haven’t, understand that RTFd files are actually bundles, and bundles are directories. Thus, Subversion adds a .svn directory inside your RTFd file. When TextEdit saves this file, the .svn directory is lost and the file appears disconnected from its history.

Thursday, 19 July 2007