shithub: furgit

Download patch

ref: ec5fe2ab6baaf82be1952080bb5a14a8e58d61bb
parent: 32f48e18896061529f038eaf527f2eec0490f5df
author: Runxi Yu <runxiyu@umich.edu>
date: Sun Jan 18 20:04:52 EST 2026

More changes from the import URL update

--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
 # Furgit
 
 [![builds.sr.ht status](https://builds.sr.ht/~runxiyu/furgit.svg)](https://builds.sr.ht/~runxiyu/furgit)
-[![Go Reference](https://pkg.go.dev/badge/git.sr.ht/~runxiyu/furgit.svg)](https://pkg.go.dev/git.sr.ht/~runxiyu/furgit)
+[![Go Reference](https://pkg.go.dev/badge/codeberg.org/lindenii/furgit.svg)](https://pkg.go.dev/codeberg.org/lindenii/furgit)
 
 Furgit is a fast Git library in pure Go
 (and a little bit of optional Go Assembly).
--- a/cmd/show-object/main.go
+++ b/cmd/show-object/main.go
@@ -5,7 +5,7 @@
 	"fmt"
 	"log"
 
-	"git.sr.ht/~runxiyu/furgit"
+	"codeberg.org/lindenii/furgit"
 )
 
 func main() {
--- a/internal/flatex/decompress.go
+++ b/internal/flatex/decompress.go
@@ -3,7 +3,7 @@
 import (
 	"io"
 
-	"git.sr.ht/~runxiyu/furgit/internal/bufpool"
+	"codeberg.org/lindenii/furgit/internal/bufpool"
 )
 
 func DecompressSized(src []byte, sizeHint int) (bufpool.Buffer, int, error) {
--- a/internal/zlib/reader.go
+++ b/internal/zlib/reader.go
@@ -41,7 +41,7 @@
 	"io"
 	"sync"
 
-	"git.sr.ht/~runxiyu/furgit/internal/adler32"
+	"codeberg.org/lindenii/furgit/internal/adler32"
 )
 
 const (
--- a/internal/zlib/writer.go
+++ b/internal/zlib/writer.go
@@ -11,7 +11,7 @@
 	"hash"
 	"io"
 
-	"git.sr.ht/~runxiyu/furgit/internal/adler32"
+	"codeberg.org/lindenii/furgit/internal/adler32"
 )
 
 // These constants are copied from the [flate] package, so that code that imports
--- a/internal/zlibx/decompress.go
+++ b/internal/zlibx/decompress.go
@@ -4,9 +4,9 @@
 	"encoding/binary"
 	"io"
 
-	"git.sr.ht/~runxiyu/furgit/internal/adler32"
-	"git.sr.ht/~runxiyu/furgit/internal/bufpool"
-	"git.sr.ht/~runxiyu/furgit/internal/flatex"
+	"codeberg.org/lindenii/furgit/internal/adler32"
+	"codeberg.org/lindenii/furgit/internal/bufpool"
+	"codeberg.org/lindenii/furgit/internal/flatex"
 )
 
 func Decompress(src []byte) (bufpool.Buffer, error) {
--- a/loose.go
+++ b/loose.go
@@ -8,9 +8,9 @@
 	"path/filepath"
 	"strconv"
 
-	"git.sr.ht/~runxiyu/furgit/internal/bufpool"
-	"git.sr.ht/~runxiyu/furgit/internal/zlib"
-	"git.sr.ht/~runxiyu/furgit/internal/zlibx"
+	"codeberg.org/lindenii/furgit/internal/bufpool"
+	"codeberg.org/lindenii/furgit/internal/zlib"
+	"codeberg.org/lindenii/furgit/internal/zlibx"
 )
 
 const looseHeaderLimit = 4096
--- a/pack_pack.go
+++ b/pack_pack.go
@@ -8,8 +8,8 @@
 	"sync"
 	"syscall"
 
-	"git.sr.ht/~runxiyu/furgit/internal/bufpool"
-	"git.sr.ht/~runxiyu/furgit/internal/zlibx"
+	"codeberg.org/lindenii/furgit/internal/bufpool"
+	"codeberg.org/lindenii/furgit/internal/zlibx"
 )
 
 const (
--- a/repo.go
+++ b/repo.go
@@ -7,7 +7,7 @@
 	"path/filepath"
 	"sync"
 
-	"git.sr.ht/~runxiyu/furgit/config"
+	"codeberg.org/lindenii/furgit/config"
 )
 
 // Repository represents a Git repository.
--