git: a little code clean-up and simplification
Nothing big, just a few fixes. We could live without this commit but code is a bit cleaner with this one.
Nothing big, just a few fixes. We could live without this commit but code is a bit cleaner with this one.