14
0
forked from pool/python-pygit2

Accepting request 1174830 from devel:Factory:git-workflow

- add  pygit2-Upgrade_to_libgit2_v1_8_1-2.patch
  pygit2-Upgrade_to_libgit2_v1_8_1.patch: support libgit2 1.8.1

OBS-URL: https://build.opensuse.org/request/show/1174830
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=91
This commit is contained in:
2024-05-17 13:15:37 +00:00
committed by Git OBS Bridge
parent df69bb9251
commit bb9bb2c788
4 changed files with 82 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
From dabd40c54fa3a086a5b1b1dd0f2fb86a689eef69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= <jdavid.ibp@gmail.com>
Date: Fri, 17 May 2024 09:53:05 +0200
Subject: [PATCH] Update to libgit2 1.8.1
---
pygit2/decl/remote.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/pygit2/decl/remote.h b/pygit2/decl/remote.h
index 6a4ee90b..64b96442 100644
--- a/pygit2/decl/remote.h
+++ b/pygit2/decl/remote.h
@@ -81,8 +81,7 @@ typedef struct {
int version;
git_remote_callbacks callbacks;
git_fetch_prune_t prune;
- unsigned int update_fetchhead : 1,
- report_unchanged : 1;
+ unsigned int update_fetchhead;
git_remote_autotag_option_t download_tags;
git_proxy_options proxy_opts;
int depth;