aboutsummaryrefslogtreecommitdiff
path: root/internal/testgit
diff options
context:
space:
mode:
Diffstat (limited to 'internal/testgit')
-rw-r--r--internal/testgit/algorithms.go2
-rw-r--r--internal/testgit/repo.go2
-rw-r--r--internal/testgit/repo_cat_file.go2
-rw-r--r--internal/testgit/repo_commit_tree.go2
-rw-r--r--internal/testgit/repo_commit_tree_env.go2
-rw-r--r--internal/testgit/repo_from_fixture.go2
-rw-r--r--internal/testgit/repo_hash_object.go2
-rw-r--r--internal/testgit/repo_make_commit.go2
-rw-r--r--internal/testgit/repo_make_many_objects_history.go2
-rw-r--r--internal/testgit/repo_make_single_file_tree.go2
-rw-r--r--internal/testgit/repo_mktree.go2
-rw-r--r--internal/testgit/repo_new.go2
-rw-r--r--internal/testgit/repo_open_commit_graph.go2
-rw-r--r--internal/testgit/repo_open_object_store.go4
-rw-r--r--internal/testgit/repo_open_repository.go2
-rw-r--r--internal/testgit/repo_properties.go2
-rw-r--r--internal/testgit/repo_refs.go2
-rw-r--r--internal/testgit/repo_remove_loose_object.go2
-rw-r--r--internal/testgit/repo_rev_list.go2
-rw-r--r--internal/testgit/repo_rev_parse.go2
-rw-r--r--internal/testgit/repo_tag_annotated.go2
21 files changed, 22 insertions, 22 deletions
diff --git a/internal/testgit/algorithms.go b/internal/testgit/algorithms.go
index aea4dc12..78613dbe 100644
--- a/internal/testgit/algorithms.go
+++ b/internal/testgit/algorithms.go
@@ -3,7 +3,7 @@ package testgit
import (
"testing"
- objectid "codeberg.org/lindenii/furgit/object/id"
+ objectid "lindenii.org/go/furgit/object/id"
)
// ForEachAlgorithm runs a subtest for every supported algorithm.
diff --git a/internal/testgit/repo.go b/internal/testgit/repo.go
index 72831bd6..c8a608bb 100644
--- a/internal/testgit/repo.go
+++ b/internal/testgit/repo.go
@@ -1,7 +1,7 @@
// Package testgit provides helpers for integration tests with upstream git(1).
package testgit
-import objectid "codeberg.org/lindenii/furgit/object/id"
+import objectid "lindenii.org/go/furgit/object/id"
// TestRepo is a temporary git repository harness for integration tests.
type TestRepo struct {
diff --git a/internal/testgit/repo_cat_file.go b/internal/testgit/repo_cat_file.go
index 7dbd2c43..e0203980 100644
--- a/internal/testgit/repo_cat_file.go
+++ b/internal/testgit/repo_cat_file.go
@@ -3,7 +3,7 @@ package testgit
import (
"testing"
- objectid "codeberg.org/lindenii/furgit/object/id"
+ objectid "lindenii.org/go/furgit/object/id"
)
// CatFile returns raw output from git cat-file.
diff --git a/internal/testgit/repo_commit_tree.go b/internal/testgit/repo_commit_tree.go
index 3a5a75ac..421d6209 100644
--- a/internal/testgit/repo_commit_tree.go
+++ b/internal/testgit/repo_commit_tree.go
@@ -3,7 +3,7 @@ package testgit
import (
"testing"
- objectid "codeberg.org/lindenii/furgit/object/id"
+ objectid "lindenii.org/go/furgit/object/id"
)
// CommitTree creates a commit from a tree and message, optionally with parents.
diff --git a/internal/testgit/repo_commit_tree_env.go b/internal/testgit/repo_commit_tree_env.go
index fbddf26f..7645f068 100644
--- a/internal/testgit/repo_commit_tree_env.go
+++ b/internal/testgit/repo_commit_tree_env.go
@@ -5,7 +5,7 @@ import (
"strings"
"testing"
- objectid "codeberg.org/lindenii/furgit/object/id"
+ objectid "lindenii.org/go/furgit/object/id"
)
// CommitTreeWithEnv creates one commit from a tree and message, optionally with
diff --git a/internal/testgit/repo_from_fixture.go b/internal/testgit/repo_from_fixture.go
index 632de12a..1bebda56 100644
--- a/internal/testgit/repo_from_fixture.go
+++ b/internal/testgit/repo_from_fixture.go
@@ -5,7 +5,7 @@ import (
"os"
"testing"
- objectid "codeberg.org/lindenii/furgit/object/id"
+ objectid "lindenii.org/go/furgit/object/id"
)
// NewRepoFromFixture copies one existing repository fixture into a temp dir.
diff --git a/internal/testgit/repo_hash_object.go b/internal/testgit/repo_hash_object.go
index 75f1a7ab..4e2b1fc2 100644
--- a/internal/testgit/repo_hash_object.go
+++ b/internal/testgit/repo_hash_object.go
@@ -3,7 +3,7 @@ package testgit
import (
"testing"
- objectid "codeberg.org/lindenii/furgit/object/id"
+ objectid "lindenii.org/go/furgit/object/id"
)
// HashObject hashes and writes an object and returns its object ID.
diff --git a/internal/testgit/repo_make_commit.go b/internal/testgit/repo_make_commit.go
index 32a063f7..60f90a8a 100644
--- a/internal/testgit/repo_make_commit.go
+++ b/internal/testgit/repo_make_commit.go
@@ -3,7 +3,7 @@ package testgit
import (
"testing"
- objectid "codeberg.org/lindenii/furgit/object/id"
+ objectid "lindenii.org/go/furgit/object/id"
)
// MakeCommit creates a commit over a single-file tree and returns (blobID, treeID, commitID).
diff --git a/internal/testgit/repo_make_many_objects_history.go b/internal/testgit/repo_make_many_objects_history.go
index f71ead2c..4402a5bf 100644
--- a/internal/testgit/repo_make_many_objects_history.go
+++ b/internal/testgit/repo_make_many_objects_history.go
@@ -5,7 +5,7 @@ import (
"strings"
"testing"
- objectid "codeberg.org/lindenii/furgit/object/id"
+ objectid "lindenii.org/go/furgit/object/id"
)
const (
diff --git a/internal/testgit/repo_make_single_file_tree.go b/internal/testgit/repo_make_single_file_tree.go
index ace98e8a..aca44515 100644
--- a/internal/testgit/repo_make_single_file_tree.go
+++ b/internal/testgit/repo_make_single_file_tree.go
@@ -4,7 +4,7 @@ import (
"fmt"
"testing"
- objectid "codeberg.org/lindenii/furgit/object/id"
+ objectid "lindenii.org/go/furgit/object/id"
)
// MakeSingleFileTree writes one blob and one tree entry for it and returns (blobID, treeID).
diff --git a/internal/testgit/repo_mktree.go b/internal/testgit/repo_mktree.go
index 893d211e..4229cece 100644
--- a/internal/testgit/repo_mktree.go
+++ b/internal/testgit/repo_mktree.go
@@ -3,7 +3,7 @@ package testgit
import (
"testing"
- objectid "codeberg.org/lindenii/furgit/object/id"
+ objectid "lindenii.org/go/furgit/object/id"
)
// Mktree creates a tree from textual mktree input and returns its ID.
diff --git a/internal/testgit/repo_new.go b/internal/testgit/repo_new.go
index b7c9968b..b7732ad7 100644
--- a/internal/testgit/repo_new.go
+++ b/internal/testgit/repo_new.go
@@ -4,7 +4,7 @@ import (
"os"
"testing"
- objectid "codeberg.org/lindenii/furgit/object/id"
+ objectid "lindenii.org/go/furgit/object/id"
)
// RepoOptions controls git-init options for test repositories.
diff --git a/internal/testgit/repo_open_commit_graph.go b/internal/testgit/repo_open_commit_graph.go
index 4db7261b..ed354747 100644
--- a/internal/testgit/repo_open_commit_graph.go
+++ b/internal/testgit/repo_open_commit_graph.go
@@ -3,7 +3,7 @@ package testgit
import (
"testing"
- commitgraphread "codeberg.org/lindenii/furgit/format/commitgraph/read"
+ commitgraphread "lindenii.org/go/furgit/format/commitgraph/read"
)
// OpenCommitGraph opens the repository commit-graph and registers cleanup on
diff --git a/internal/testgit/repo_open_object_store.go b/internal/testgit/repo_open_object_store.go
index 256ee54a..066fd9d4 100644
--- a/internal/testgit/repo_open_object_store.go
+++ b/internal/testgit/repo_open_object_store.go
@@ -3,8 +3,8 @@ package testgit
import (
"testing"
- objectstore "codeberg.org/lindenii/furgit/object/store"
- "codeberg.org/lindenii/furgit/repository"
+ objectstore "lindenii.org/go/furgit/object/store"
+ "lindenii.org/go/furgit/repository"
)
// OpenObjectStore opens the repository object store and registers cleanup on
diff --git a/internal/testgit/repo_open_repository.go b/internal/testgit/repo_open_repository.go
index fbc98383..cea721e0 100644
--- a/internal/testgit/repo_open_repository.go
+++ b/internal/testgit/repo_open_repository.go
@@ -3,7 +3,7 @@ package testgit
import (
"testing"
- "codeberg.org/lindenii/furgit/repository"
+ "lindenii.org/go/furgit/repository"
)
// OpenRepository opens the repository and registers cleanup on the caller.
diff --git a/internal/testgit/repo_properties.go b/internal/testgit/repo_properties.go
index d46e9030..e1047bbf 100644
--- a/internal/testgit/repo_properties.go
+++ b/internal/testgit/repo_properties.go
@@ -1,6 +1,6 @@
package testgit
-import objectid "codeberg.org/lindenii/furgit/object/id"
+import objectid "lindenii.org/go/furgit/object/id"
// Algorithm returns the object ID algorithm configured for this repository.
func (testRepo *TestRepo) Algorithm() objectid.Algorithm {
diff --git a/internal/testgit/repo_refs.go b/internal/testgit/repo_refs.go
index a92e1658..d44f77e6 100644
--- a/internal/testgit/repo_refs.go
+++ b/internal/testgit/repo_refs.go
@@ -4,7 +4,7 @@ import (
"strings"
"testing"
- objectid "codeberg.org/lindenii/furgit/object/id"
+ objectid "lindenii.org/go/furgit/object/id"
)
// UpdateRef updates a ref to point at id.
diff --git a/internal/testgit/repo_remove_loose_object.go b/internal/testgit/repo_remove_loose_object.go
index 345d9db7..95bdef57 100644
--- a/internal/testgit/repo_remove_loose_object.go
+++ b/internal/testgit/repo_remove_loose_object.go
@@ -4,7 +4,7 @@ import (
"fmt"
"testing"
- objectid "codeberg.org/lindenii/furgit/object/id"
+ objectid "lindenii.org/go/furgit/object/id"
)
// RemoveLooseObject removes one loose object file from the repository.
diff --git a/internal/testgit/repo_rev_list.go b/internal/testgit/repo_rev_list.go
index 6b0c4f76..babba8da 100644
--- a/internal/testgit/repo_rev_list.go
+++ b/internal/testgit/repo_rev_list.go
@@ -4,7 +4,7 @@ import (
"strings"
"testing"
- objectid "codeberg.org/lindenii/furgit/object/id"
+ objectid "lindenii.org/go/furgit/object/id"
)
// RevList runs "git rev-list" with args and parses one object ID per line.
diff --git a/internal/testgit/repo_rev_parse.go b/internal/testgit/repo_rev_parse.go
index fcdee605..22ae1c0e 100644
--- a/internal/testgit/repo_rev_parse.go
+++ b/internal/testgit/repo_rev_parse.go
@@ -3,7 +3,7 @@ package testgit
import (
"testing"
- objectid "codeberg.org/lindenii/furgit/object/id"
+ objectid "lindenii.org/go/furgit/object/id"
)
// RevParse resolves rev expressions to object IDs.
diff --git a/internal/testgit/repo_tag_annotated.go b/internal/testgit/repo_tag_annotated.go
index cf6e9b3d..7e374102 100644
--- a/internal/testgit/repo_tag_annotated.go
+++ b/internal/testgit/repo_tag_annotated.go
@@ -3,7 +3,7 @@ package testgit
import (
"testing"
- objectid "codeberg.org/lindenii/furgit/object/id"
+ objectid "lindenii.org/go/furgit/object/id"
)
// TagAnnotated creates an annotated tag object and returns the resulting tag object ID.