From f04137f841de6fefe4c79fedeb718b252a3b2958 Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Mon, 12 Dec 2022 18:02:07 +0530 Subject: template: render diff header lines --- go.mod | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index 479bdda..071dc4a 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,7 @@ go 1.19 require ( github.com/alexedwards/flow v0.0.0-20220806114457-cf11be9e0e03 + github.com/bluekeyes/go-gitdiff v0.7.0 github.com/go-git/go-git/v5 v5.5.0 gopkg.in/yaml.v3 v3.0.0 ) @@ -12,7 +13,6 @@ require ( github.com/Microsoft/go-winio v0.5.2 // indirect github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 // indirect github.com/acomagu/bufpipe v1.0.3 // indirect - github.com/bluekeyes/go-gitdiff v0.7.0 // indirect github.com/cloudflare/circl v1.1.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect github.com/go-git/gcfg v1.5.0 // indirect @@ -23,7 +23,6 @@ require ( github.com/pjbgf/sha1cd v0.2.0 // indirect github.com/sergi/go-diff v1.1.0 // indirect github.com/skeema/knownhosts v1.1.0 // indirect - github.com/sourcegraph/go-diff v0.6.1 // indirect github.com/xanzy/ssh-agent v0.3.2 // indirect golang.org/x/crypto v0.3.0 // indirect golang.org/x/net v0.2.0 // indirect -- cgit