shithub: furgit

Download patch

ref: 33d354ebca84f2901de2ac290e7af2696b0ea8fa
parent: 1b17776bcb3ffa1c270ceb3dcfc6f0ee815d9426
author: Runxi Yu <me@runxiyu.org>
date: Fri Feb 20 21:07:19 EST 2026

object: Reformat

--- a/object/commit.go
+++ b/object/commit.go
@@ -1,8 +1,8 @@
 package object
 
 import (
-	"codeberg.org/lindenii/furgit/objecttype"
 	"codeberg.org/lindenii/furgit/objectid"
+	"codeberg.org/lindenii/furgit/objecttype"
 )
 
 // Commit represents a Git commit object.
--- a/object/tag.go
+++ b/object/tag.go
@@ -1,8 +1,8 @@
 package object
 
 import (
-	"codeberg.org/lindenii/furgit/objecttype"
 	"codeberg.org/lindenii/furgit/objectid"
+	"codeberg.org/lindenii/furgit/objecttype"
 )
 
 // Tag represents a Git annotated tag object.
--- a/object/tag_parse.go
+++ b/object/tag_parse.go
@@ -5,8 +5,8 @@
 	"errors"
 	"fmt"
 
-	"codeberg.org/lindenii/furgit/objecttype"
 	"codeberg.org/lindenii/furgit/objectid"
+	"codeberg.org/lindenii/furgit/objecttype"
 )
 
 // ParseTag decodes a tag object body.
--- a/object/tree.go
+++ b/object/tree.go
@@ -5,8 +5,8 @@
 	"fmt"
 	"sort"
 
-	"codeberg.org/lindenii/furgit/objecttype"
 	"codeberg.org/lindenii/furgit/objectid"
+	"codeberg.org/lindenii/furgit/objecttype"
 )
 
 // FileMode represents the mode of a file in a Git tree.
--