templates / branches--on commit apply: Allow blank *trailing* context lines to match beyond EOF (0c3ef98)
   1: this is just to ensure the directory exists.