templates / branches--on commit http.c: use strbuf API in quote_ref_url (113106e)
   1: this is just to ensure the directory exists.