Skip to content

Commit c26bcc9

Browse files
committed
re-add git toolset
1 parent 9bdd5c8 commit c26bcc9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pkg/github/tools.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,10 @@ func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetG
194194
// toolsets.NewServerResourceTemplate(GetRepositoryResourceTagContent(getClient, getRawClient, t)),
195195
// toolsets.NewServerResourceTemplate(GetRepositoryResourcePrContent(getClient, getRawClient, t)),
196196
// )
197-
// git := toolsets.NewToolset(ToolsetMetadataGit.ID, ToolsetMetadataGit.Description).
198-
// AddReadTools(
199-
// toolsets.NewServerTool(GetRepositoryTree(getClient, t)),
200-
// )
197+
git := toolsets.NewToolset(ToolsetMetadataGit.ID, ToolsetMetadataGit.Description).
198+
AddReadTools(
199+
toolsets.NewServerTool(GetRepositoryTree(getClient, t)),
200+
)
201201
// issues := toolsets.NewToolset(ToolsetMetadataIssues.ID, ToolsetMetadataIssues.Description).
202202
// AddReadTools(
203203
// toolsets.NewServerTool(IssueRead(getClient, getGQLClient, t, flags)),
@@ -361,7 +361,7 @@ func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetG
361361
// Add toolsets to the group
362362
tsg.AddToolset(contextTools)
363363
// tsg.AddToolset(repos)
364-
// tsg.AddToolset(git)
364+
tsg.AddToolset(git)
365365
// tsg.AddToolset(issues)
366366
// tsg.AddToolset(orgs)
367367
// tsg.AddToolset(users)

0 commit comments

Comments
 (0)