taskolib / libgit4cpp

C++ wrapper for libgit2 with limited functionality
https://taskolib.github.io/libgit4cpp/
GNU Lesser General Public License v2.1
1 stars 0 forks source link

'Expected errors' create output on stdout #5

Closed Finii closed 6 months ago

Finii commented 7 months ago

image

But that is on a happy path when a repo is inited that does not exist beforehand.

image

Maybe this is a debugging leftover?

In general the error handling here is not very sophistocated. Only the caller of repository_open() can decide if the 'error' is an error or expected and will be handled.

We can leave this for now, but some other mechanism is needed for production.