From 3043eb36bfcd7ddf29202b958b91942826a8182b Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 6 Feb 2022 20:01:47 +0100 Subject: Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) --- modules/gitgraph/graph.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gitgraph/graph.go') diff --git a/modules/gitgraph/graph.go b/modules/gitgraph/graph.go index 9495014f71..c0618152d8 100644 --- a/modules/gitgraph/graph.go +++ b/modules/gitgraph/graph.go @@ -51,7 +51,7 @@ func GetCommitGraph(r *git.Repository, page, maxAllowedColors int, hidePRRefs bo args = append(args, files...) } - graphCmd := git.NewCommandContext(r.Ctx, "log") + graphCmd := git.NewCommand(r.Ctx, "log") graphCmd.AddArguments(args...) graph := NewGraph() -- cgit v1.2.3