author | Jonathan Nieder <jrnieder@gmail.com> | |
Fri, 25 Mar 2011 04:10:00 +0000 (23:10 -0500) | ||
committer | Jonathan Nieder <jrnieder@gmail.com> | |
Sat, 26 Mar 2011 05:41:38 +0000 (00:41 -0500) | ||
commit | 4c3169b03ec567ac43edcfc08ffdab119e0ebe94 | |
tree | 541d5ba6cf8d399d2e6d85fcfe877d676e2d68fa | tree | snapshot |
parent | 7e2fe3a9fc816391b322ad9b3f2adf9342631db6 | commit | diff |
vcs-svn: avoid unnecessary copying of log message and author
Use strbuf_swap when storing the svn:log and svn:author properties, so
pointers to rather than the contents of buffers get copied. The main
effect should be to make the code a little easier to read.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Use strbuf_swap when storing the svn:log and svn:author properties, so
pointers to rather than the contents of buffers get copied. The main
effect should be to make the code a little easier to read.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
vcs-svn/svndump.c | diff | blob | history |