templates / branches--on commit show_ref(): convert local variable peeled to object_id (a0cde90)
   1: this is just to ensure the directory exists.