site  contact  subhomenews

Empty folders not recognized by git

April 09, 2023 — BarryK

I had completely forgotten about this. Many years ago, when using the Fossil repository, I created a file named 'EMPTYDIRMARKER' in every empty folder. However, when setting up woofQ on in 2022, I forgot that git also has this limitation.

The light came on this morning, while looking at the woofQ project on, and realized some folders were missing. So, I created a script to create 'EMPTYDIRMARKER' in every empty folder:

woofQ has a script 'merge2out', that removes this file when export the project.   

Tags: easy