Open botwhytho opened 2 years ago
I've coded workarounds like below, but considering I'm introspecting with instVarNamed:
we probably need to expose error codes from libgit a bit more officially
[Metacello new
baseline: 'ABaseline';
repository: 'github://aPath';
load. ]
on: IceGenericError
do: [:anError|
(anError instVarNamed: #wrappedException) object = LGitErrorTypeEnum giterr_net
ifTrue: [
Metacello new
baseline: 'ABaseline';
repository: 'gitlocal://aPath';
load.
]
When running code like below, if there is no network connection, the code will fail, even if there is a local git copy on the machine.