templates / branches--on commit read-tree -m A B: prime cache-tree from the switched-to tree (456156d)
   1: this is just to ensure the directory exists.