From 780a2f58e727386ae81223d7a5c16fbc55cfd9fa Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 18 Jan 2007 18:15:23 -0800 Subject: [PATCH] git-svn: fix a regression in dcommit that caused empty log messages Signed-off-by: Eric Wong --- git-svn.perl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git-svn.perl b/git-svn.perl index 9d50d305c..b5a4cb05a 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -339,13 +339,14 @@ sub cmd_dcommit { if ($_dry_run) { print "diff-tree $d~1 $d\n"; } else { + my $log = get_commit_entry($d)->{log}; my $ra = $gs->ra; my $pool = SVN::Pool->new; my %ed_opts = ( r => $last_rev, ra => $ra->dup, svn_path => $ra->{svn_path} ); my $ed = SVN::Git::Editor->new(\%ed_opts, - $ra->get_commit_editor($::_message, + $ra->get_commit_editor($log, sub { print "Committed r$_[0]\n"; $last_rev = $_[0]; }), $pool); -- 2.26.2