Skip to content

Fix template documentation comments#610

Merged
keegancsmith merged 1 commit into
sourcegraph:mainfrom
isker:version-not-branch
Jul 10, 2023
Merged

Fix template documentation comments#610
keegancsmith merged 1 commit into
sourcegraph:mainfrom
isker:version-not-branch

Conversation

@isker

@isker isker commented Jul 10, 2023

Copy link
Copy Markdown
Contributor

The variable is Version, not Branch, and if we're using the template variable syntax, it should have the leading dot that it needs to.

The variable is `Version`, not `Branch`, and if we're using the template
variable syntax, it should have the leading dot that it needs to.
Comment thread grpc/v1/webserver.pb.go
// URL template to link to the commit of a branch
CommitUrlTemplate string `protobuf:"bytes,7,opt,name=commit_url_template,json=commitUrlTemplate,proto3" json:"commit_url_template,omitempty"`
// The repository URL for getting to a file. Has access to
// {{Branch}}, {{Path}}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not run whatever command generates this file, but I'm assuming this manual change is okay.

@keegancsmith keegancsmith merged commit e2e8aed into sourcegraph:main Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants