Code

vcs-svn: avoid unnecessary copying of log message and author
authorJonathan Nieder <jrnieder@gmail.com>
Fri, 25 Mar 2011 04:10:00 +0000 (23:10 -0500)
committerJonathan Nieder <jrnieder@gmail.com>
Sat, 26 Mar 2011 05:41:38 +0000 (00:41 -0500)
commit4c3169b03ec567ac43edcfc08ffdab119e0ebe94
tree541d5ba6cf8d399d2e6d85fcfe877d676e2d68fa
parent7e2fe3a9fc816391b322ad9b3f2adf9342631db6
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>
vcs-svn/svndump.c