summaryrefslogtreecommitdiff
path: root/src/fileops.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2011-06-16 16:39:20 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2011-06-16 16:39:20 +0200
commite7e0e20fc59ab4126893edab3eda41ae1462b90b (patch)
tree201297582271e687adb264c1908948ca024c7ffa /src/fileops.c
parentd144c569f372aace4b71e595cb541111730edce4 (diff)
downloadlibgit2-e7e0e20fc59ab4126893edab3eda41ae1462b90b.tar.gz
Simplify loose ref writing
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>
Diffstat (limited to 'src/fileops.c')
0 files changed, 0 insertions, 0 deletions