FreeBSD Bugzilla – Attachment 213736 Details for
Bug 245863
www/gitea: Fix viewing of branches with a slash in the name
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn(1) diff against the ports tree
gitea-1.11.4_2.diff (text/plain), 2.23 KB, created by
Kyle Evans
on 2020-04-24 00:29:17 UTC
(
hide
)
Description:
svn(1) diff against the ports tree
Filename:
MIME Type:
Creator:
Kyle Evans
Created:
2020-04-24 00:29:17 UTC
Size:
2.23 KB
patch
obsolete
>Index: www/gitea/Makefile >=================================================================== >--- www/gitea/Makefile (revision 532705) >+++ www/gitea/Makefile (working copy) >@@ -3,6 +3,7 @@ > PORTNAME= gitea > DISTVERSIONPREFIX= v > DISTVERSION= 1.11.4 >+PORTREVISION= 2 > CATEGORIES= www > MASTER_SITES= https://github.com/go-gitea/gitea/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ > DISTNAME= gitea-src-${DISTVERSION} >Index: www/gitea/files/patch-vendor_github.com_go-git_go-git_v5_storage_filesystem_dotgit_dotgit.go >=================================================================== >--- www/gitea/files/patch-vendor_github.com_go-git_go-git_v5_storage_filesystem_dotgit_dotgit.go (nonexistent) >+++ www/gitea/files/patch-vendor_github.com_go-git_go-git_v5_storage_filesystem_dotgit_dotgit.go (working copy) >@@ -0,0 +1,27 @@ >+--- vendor/github.com/go-git/go-git/v5/storage/filesystem/dotgit/dotgit.go.orig 2020-04-01 17:02:04 UTC >++++ vendor/github.com/go-git/go-git/v5/storage/filesystem/dotgit/dotgit.go >+@@ -57,6 +57,9 @@ var ( >+ // targeting a non-existing object. This usually means the repository >+ // is corrupt. >+ ErrSymRefTargetNotFound = errors.New("symbolic reference target not found") >++ // ErrIsDir is returned when a reference file is attempting to be read, >++ // but the path specified is a directory. >++ ErrIsDir = errors.New("reference path is a directory") >+ ) >+ >+ // Options holds configuration for the storage. >+@@ -926,6 +929,14 @@ func (d *DotGit) addRefFromHEAD(refs *[]*plumbing.Refe >+ >+ func (d *DotGit) readReferenceFile(path, name string) (ref *plumbing.Reference, err error) { >+ path = d.fs.Join(path, d.fs.Join(strings.Split(name, "/")...)) >++ st, err := d.fs.Stat(path) >++ if err != nil { >++ return nil, err >++ } >++ if st.IsDir() { >++ return nil, ErrIsDir >++ } >++ >+ f, err := d.fs.Open(path) >+ if err != nil { >+ return nil, err > >Property changes on: www/gitea/files/patch-vendor_github.com_go-git_go-git_v5_storage_filesystem_dotgit_dotgit.go >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
koobs
:
maintainer-approval+
koobs
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 245863
: 213736