Closed sergiou87 closed 7 months ago
As mentioned in https://github.com/desktop/desktop/pull/18292#discussion_r1521722027, the function parseBadConfigValueErrorInfo extracts the name of parameter and its value from git errors.
parseBadConfigValueErrorInfo
I intended to write it as an independent function, but then I noticed parseError was a public static function in GitProcess and decided to do the same.
parseError
GitProcess
As mentioned in https://github.com/desktop/desktop/pull/18292#discussion_r1521722027, the function
parseBadConfigValueErrorInfo
extracts the name of parameter and its value from git errors.I intended to write it as an independent function, but then I noticed
parseError
was a public static function inGitProcess
and decided to do the same.