Conversation
|
😍 😍 😍 😍 😍 @nulltoken did you want an extra pair of hands to help with cleaning this up? otherwise I'm happy to help with reviewing... |
LibGit2Sharp.Tests/MetaFixture.cs
Outdated
|
@shiftkey Any help is welcome killing those optional parameters! 🙏 |
|
@nulltoken I'll start from the bottom of the list then. Shall I PR into this PR, or just add commits directly? |
|
@shiftkey Please push directly on top of this branch. ❤️ for the help |
There was a problem hiding this comment.
There's a couple of methods which have optional parameters but are marked as obsolete. I figure we don't care about migrating those. Let me know if that's not the case.
There was a problem hiding this comment.
Good call! They'll be dropped before stabilization (post v0.22)
There was a problem hiding this comment.
Not sure if we wanted to overload everything here - I just went with the overloads for global and global/xdg. Would love some guidance.
There was a problem hiding this comment.
How you did it makes sense to me.
|
Pausing here because I'm concerned about wrestling with the mocks for |
|
😍 |
|
@nulltoken thoughts on what I'm doing wrong with that leaked |
|
@shiftkey see this line - In order to trigger this, you need to have |
|
@shiftkey - I am not completely familiar with this yet, but it looks like the |
|
Okay, that should be the fix. I'll try and give it thorough review to ensure the optional combinations are maintained wherever appropriate, but any extra help would be 💖 |
There was a problem hiding this comment.
What does this change do? (asking for a friend)
There was a problem hiding this comment.
I think I found myself dropping the default _ when R# was bugging me during the refactoring. I'll check.
|
Pushed some fixups |
|
Anyone opposing to see this pulled in? |
|
|
Ensure lack of optional parameters
|
@shiftkey AWE. SOME! 💯 🎱 |

Fix #952