Skip to content

Conversation

@eric-winkler
Copy link
Contributor

Many consumers are doing a log.Info("somestring") and have no desire to trigger formatstring behavior. This change allows them to use { or } without running into formatting exceptions.

Fixes #1875 - This was triggered by attempts to log remote tips using the <rev>^{} revision syntax.

Many consumers are doing a log.Info("somestring") and have no desire to trigger formatstring behavior.  This change allows them to use '{' or '}' without running into formatting exceptions.
@arturcic
Copy link
Member

arturcic commented Nov 1, 2019

@eric-winkler thank you very much for having a lóok. LGTM. Merging it.

@arturcic arturcic merged commit f3278ec into GitTools:master Nov 1, 2019
@eric-winkler eric-winkler deleted the UnformattedLogs branch November 2, 2019 15:25
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.

GitVersion 5.1.1 AppVeyor: Input string was not in a correct format.

2 participants