fix: lint issues

Ayman Bagabas created

Change summary

git/patch.go                   | 2 +-
pkg/git/git.go                 | 2 +-
pkg/lfs/scanner.go             | 2 +-
pkg/ssh/cmd/branch.go          | 2 +-
pkg/ui/pages/repo/files.go     | 2 +-
pkg/ui/pages/repo/stash.go     | 2 +-
pkg/ui/pages/repo/stashitem.go | 2 +-
pkg/webhook/push.go            | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)

Detailed changes

git/patch.go 🔗

@@ -7,8 +7,8 @@ import (
 	"strings"
 	"sync"
 
-	"github.com/dustin/go-humanize/english"
 	"github.com/aymanbagabas/git-module"
+	"github.com/dustin/go-humanize/english"
 	"github.com/sergi/go-diff/diffmatchpatch"
 )
 

pkg/git/git.go 🔗

@@ -7,10 +7,10 @@ import (
 	"path/filepath"
 	"strings"
 
+	gitm "github.com/aymanbagabas/git-module"
 	"github.com/charmbracelet/log"
 	"github.com/charmbracelet/soft-serve/git"
 	"github.com/go-git/go-git/v5/plumbing/format/pktline"
-	gitm "github.com/aymanbagabas/git-module"
 )
 
 // WritePktline encodes and writes a pktline to the given writer.

pkg/lfs/scanner.go 🔗

@@ -10,8 +10,8 @@ import (
 	"strings"
 	"sync"
 
-	"github.com/charmbracelet/soft-serve/git"
 	gitm "github.com/aymanbagabas/git-module"
+	"github.com/charmbracelet/soft-serve/git"
 )
 
 // SearchPointerBlobs scans the whole repository for LFS pointer files

pkg/ssh/cmd/branch.go 🔗

@@ -4,11 +4,11 @@ import (
 	"fmt"
 	"strings"
 
+	gitm "github.com/aymanbagabas/git-module"
 	"github.com/charmbracelet/soft-serve/git"
 	"github.com/charmbracelet/soft-serve/pkg/backend"
 	"github.com/charmbracelet/soft-serve/pkg/proto"
 	"github.com/charmbracelet/soft-serve/pkg/webhook"
-	gitm "github.com/aymanbagabas/git-module"
 	"github.com/spf13/cobra"
 )
 

pkg/ui/pages/repo/files.go 🔗

@@ -7,6 +7,7 @@ import (
 	"strings"
 
 	"github.com/alecthomas/chroma/lexers"
+	gitm "github.com/aymanbagabas/git-module"
 	"github.com/charmbracelet/bubbles/key"
 	"github.com/charmbracelet/bubbles/spinner"
 	tea "github.com/charmbracelet/bubbletea"
@@ -15,7 +16,6 @@ import (
 	"github.com/charmbracelet/soft-serve/pkg/ui/common"
 	"github.com/charmbracelet/soft-serve/pkg/ui/components/code"
 	"github.com/charmbracelet/soft-serve/pkg/ui/components/selector"
-	gitm "github.com/aymanbagabas/git-module"
 )
 
 type filesView int

pkg/ui/pages/repo/stash.go 🔗

@@ -3,6 +3,7 @@ package repo
 import (
 	"fmt"
 
+	gitm "github.com/aymanbagabas/git-module"
 	"github.com/charmbracelet/bubbles/key"
 	"github.com/charmbracelet/bubbles/spinner"
 	tea "github.com/charmbracelet/bubbletea"
@@ -12,7 +13,6 @@ import (
 	"github.com/charmbracelet/soft-serve/pkg/ui/common"
 	"github.com/charmbracelet/soft-serve/pkg/ui/components/code"
 	"github.com/charmbracelet/soft-serve/pkg/ui/components/selector"
-	gitm "github.com/aymanbagabas/git-module"
 )
 
 type stashState int

pkg/ui/pages/repo/stashitem.go 🔗

@@ -4,11 +4,11 @@ import (
 	"fmt"
 	"io"
 
+	gitm "github.com/aymanbagabas/git-module"
 	"github.com/charmbracelet/bubbles/key"
 	"github.com/charmbracelet/bubbles/list"
 	tea "github.com/charmbracelet/bubbletea"
 	"github.com/charmbracelet/soft-serve/pkg/ui/common"
-	gitm "github.com/aymanbagabas/git-module"
 )
 
 // StashItem represents a stash item.

pkg/webhook/push.go 🔗

@@ -4,12 +4,12 @@ import (
 	"context"
 	"fmt"
 
+	gitm "github.com/aymanbagabas/git-module"
 	"github.com/charmbracelet/soft-serve/git"
 	"github.com/charmbracelet/soft-serve/pkg/config"
 	"github.com/charmbracelet/soft-serve/pkg/db"
 	"github.com/charmbracelet/soft-serve/pkg/proto"
 	"github.com/charmbracelet/soft-serve/pkg/store"
-	gitm "github.com/aymanbagabas/git-module"
 )
 
 // PushEvent is a push event.