diff options
| author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-06-16 16:39:20 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-06-16 16:39:20 +0200 |
| commit | e7e0e20fc59ab4126893edab3eda41ae1462b90b (patch) | |
| tree | 201297582271e687adb264c1908948ca024c7ffa /src/fileops.c | |
| parent | d144c569f372aace4b71e595cb541111730edce4 (diff) | |
| download | libgit2-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
