devel/git-cinnabar: update to 0.5.11

Changes:	https://github.com/glandium/git-cinnabar/releases/tag/0.5.11
Reported by:	GitHub (watch releases)
This commit is contained in:
Jan Beich 2022-10-29 04:39:25 +00:00
parent 24ae8e2317
commit f7f5dc5917
3 changed files with 4 additions and 24 deletions

View file

@ -1,6 +1,5 @@
PORTNAME= git-cinnabar
DISTVERSION= 0.5.10
PORTREVISION= 4
DISTVERSION= 0.5.11
CATEGORIES= devel
MAINTAINER= jbeich@FreeBSD.org

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1659215085
SHA256 (glandium-git-cinnabar-0.5.10_GH0.tar.gz) = 20792358201417fa64cb3b1b9ccd6753909f081b0bf11cb9908f55a3607627e1
SIZE (glandium-git-cinnabar-0.5.10_GH0.tar.gz) = 183884
TIMESTAMP = 1667018365
SHA256 (glandium-git-cinnabar-0.5.11_GH0.tar.gz) = 20f94f6a9b05fff2684e8c5619a1a5703e7d472fd2d0e87b020b20b4190a6338
SIZE (glandium-git-cinnabar-0.5.11_GH0.tar.gz) = 184004

View file

@ -1,19 +0,0 @@
https://github.com/glandium/git-cinnabar/commit/02449dbf25b1
--- helper/tree-walk.c.patch.orig 2022-07-30 21:04:45 UTC
+++ helper/tree-walk.c.patch
@@ -1,12 +1,12 @@ diff --git a/tree-walk.c b/tree-walk.c
diff --git a/tree-walk.c b/tree-walk.c
-index 3a94959d64..70558d2964 100644
+index 74f4d710e8..f46ac155eb 100644
--- a/tree-walk.c
+++ b/tree-walk.c
@@ -47,7 +47,7 @@ static int decode_tree_entry(struct tree_desc *desc, const char *buf, unsigned l
/* Initialize the descriptor entry */
desc->entry.path = path;
-- desc->entry.mode = canon_mode(mode);
+- desc->entry.mode = (desc->flags & TREE_DESC_RAW_MODES) ? mode : canon_mode(mode);
+ desc->entry.mode = mode;
desc->entry.pathlen = len - 1;
oidread(&desc->entry.oid, (const unsigned char *)path + len);