Remove unused patch

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
Igor Gnatenko 2016-03-20 09:05:24 +01:00
parent 37be1967a5
commit b91ca82b7a

View File

@ -1,27 +0,0 @@
From d555dd66d4a35409b4d624e52562af44aa97e934 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= <cmn@dwim.me>
Date: Wed, 24 Feb 2016 14:49:32 +0100
Subject: [PATCH] Attempt to fix build on 0.23.3
---
pygit2/repository.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/pygit2/repository.py b/pygit2/repository.py
index f8a6cad..1713828 100644
--- a/pygit2/repository.py
+++ b/pygit2/repository.py
@@ -716,8 +716,10 @@ class Repository(_Repository):
format_options.abbreviated_size = abbreviated_size
if always_use_long_format is not None:
format_options.always_use_long_format = always_use_long_format
+ dirty_ptr = None
if dirty_suffix:
- format_options.dirty_suffix = ffi.new('char[]', to_bytes(dirty_suffix))
+ dirty_ptr = ffi.new('char[]', to_bytes(dirty_suffix))
+ format_options.dirty_suffix = dirty_ptr
buf = ffi.new('git_buf *', (ffi.NULL, 0))
--
2.5.0