Cannot get changes for repository LKSLGitHub: Running git.exe with arguments "fetch --prune" failed with return code 128 and error output: "fatal: bad config file line 1 in .git/config"
I think I understand what happened. Continua was showing “Unknown SSL protocol error in connection to bitbucket.org:443” errors which I hadn’t monitored in a while as any 5xx errors are also in the log and flooding the log.
So I updated from “git version 1.8.5.2.msysgit.0” to “git version 2.6.1.windows.1”.
My best guess is that the old git somehow trashed 2 repos. A reset of both repositories solved the issue.
This brings me to two feature requests:
- Have Continua CI indicate there are newer Git/Mercurial/… versions available (just like it does with newer Continua CI versions) - Allow better display and filtering of errors in the log (I spent like 3 hours getting rid of 1000+ 5xx errors; they all look like “A new ‘Repository’ system event was logged”).
We’ve got a task on our todo list to add filtering to the event log, though we have several higher priority features to implement before we get to that.
We’ll keep note of your request to indicate if there are new versions of third party tools such as Git, but for now we’ll implement some code to raise an error if the older version does not support the required functionallity.