refs.c
49.3 KB
-
Simplify loose ref writing · e7e0e20f
There is no need to store the format outselves, as the library provides git_filebuf_printf which takes care of the formatting itself. Also get rid of an use of strcat + strcpy which is always a nice thing. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed