MarkEmptyDirs

Manages placeholder files necessary to version control empty directories.
Download

MarkEmptyDirs Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Publisher Name:
  • Johann Duscher
  • Operating Systems:
  • Windows All / Unix
  • File Size:
  • 29 KB

MarkEmptyDirs Tags


MarkEmptyDirs Description

CVS, GIT, and Mercurial as well as other well-known version control systems cannot version directories. In other words, you cannot add empty directories. A "workaround" for this issue is to use placeholder files that are placed into empty directories. These placeholder files can then be committed into the repository and will make sure that, upon checkout, the directory tree is entirely reconstructed. The problem with using placeholder files is that you need to create them, and need to delete them if they are not necessary anymore (because sub-directories or real files were added). With big source trees, managing these placeholder files can be cumbersome and error prone. MarkEmptyDirs can manage the creation/deletion of such placeholder files automatically. It creates placeholder files in all empty "leaf" directories. If new files or directories are put into such directories, the placeholder files can be removed automatically.


MarkEmptyDirs Related Software