Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 1BB5AA646B for ; Tue, 14 Jan 2014 18:50:03 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 85A6814A0D5; Tue, 14 Jan 2014 18:50:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 27C7214A0B1 for ; Tue, 14 Jan 2014 18:49:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id NaNO4umwQbdS for ; Tue, 14 Jan 2014 18:49:55 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 577C914A0A8 for ; Tue, 14 Jan 2014 18:49:55 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 51FBF96; Tue, 14 Jan 2014 18:49:55 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 14 Jan 2014 18:49:55 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/git-base To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20140114184955.51FBF96@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk 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 gmail.com> Cc: Eric Wong yhbt.net> Signed-off-by: Roman Kagan 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.