templates / branches--on commit write_locked_index(): add flag to avoid writing unchanged index (6100081)
   1: this is just to ensure the directory exists.