[packages/git-core] avoid "error closing pipe:" at the end of git svn clone
draenog
draenog at pld-linux.org
Fri Jul 19 15:19:32 CEST 2013
commit 2d4ceaa02364ca1122f8d3b53fb561937835d846
Author: Kacper Kornet <draenog at pld-linux.org>
Date: Fri Jul 19 14:16:24 2013 +0100
avoid "error closing pipe:" at the end of git svn clone
git-core-svn-exit-errors.patch | 15 +++++++++++++++
git-core.spec | 3 ++-
2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/git-core.spec b/git-core.spec
index beb4a6f..001253a 100644
--- a/git-core.spec
+++ b/git-core.spec
@@ -11,7 +11,7 @@ Summary: Distributed version control system focused on speed, effectivity and us
Summary(pl.UTF-8): Rozproszony system śledzenia treści skupiony na szybkości, wydajności i użyteczności
Name: git-core
Version: 1.8.3.3
-Release: 1
+Release: 2
License: GPL v2
Group: Development/Tools
Source0: http://git-core.googlecode.com/files/git-%{version}.tar.gz
@@ -28,6 +28,7 @@ Patch1: %{name}-key-bindings.patch
Patch2: %{name}-sysconfdir.patch
Patch3: cherry-picked-commitlog.patch
Patch4: %{name}-svn-serf.patch
+Patch5: %{name}-svn-exit-errors.patch
URL: http://git-scm.com/
BuildRequires: autoconf >= 2.59
BuildRequires: automake
diff --git a/git-core-svn-exit-errors.patch b/git-core-svn-exit-errors.patch
new file mode 100644
index 0000000..d522644
--- /dev/null
+++ b/git-core-svn-exit-errors.patch
@@ -0,0 +1,15 @@
+diff --git a/git-svn.perl b/git-svn.perl
+index d070de0..d93d133 100755
+--- a/git-svn.perl
++++ b/git-svn.perl
+@@ -2068,6 +2068,10 @@ sub gc_directory {
+ }
+ }
+
++END {
++ undef $_repository;
++}
++
+ __END__
+
+ Data structures:
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/git-core.git/commitdiff/2d4ceaa02364ca1122f8d3b53fb561937835d846
More information about the pld-cvs-commit
mailing list