pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/git-base
Module Name: pkgsrc
Committed By: wiz
Date: Tue Jan 14 18:49:55 UTC 2014
Modified Files:
pkgsrc/devel/git-base: Makefile distinfo
Added Files:
pkgsrc/devel/git-base/patches: patch-perl_Git_SVN_Editor.pm
Log Message:
Add a patch from the git mailing list fixing a problem with 'git svn':
git-svn: workaround for a bug in svn serf backend
Subversion serf backend in versions 1.8.5 and below has a bug that the
function creating the descriptor of a file change -- add_file() --
doesn't make a copy of its 3d argument when storing it on the returned
descriptor. As a result, by the time this field is used (in
transactions of file copying or renaming) it may well be released.
This patch works around this bug, by storing the value to be passed as
the 3d argument to add_file() in a local variable with the same scope as
the file change descriptor, making sure their lifetime is the same.
Cc: Benjamin Pabst <benjamin.pabst85 <at> gmail.com>
Cc: Eric Wong <normalperson <at> yhbt.net>
Signed-off-by: Roman Kagan <rkagan <at> mail.ru>
---
perl/Git/SVN/Editor.pm | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
http://permalink.gmane.org/gmane.comp.version-control.git/239690
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/git-base/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/git-base/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/git-base/patches/patch-perl_Git_SVN_Editor.pm
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index