Fix #44776 - Error on "Undo Last Commit" if executed against the initial commit#47578
Fix #44776 - Error on "Undo Last Commit" if executed against the initial commit#47578joaomoreno merged 9 commits intomicrosoft:masterfrom
Conversation
|
@ryu1kn While tests are great, I'm not too happy in having stubs in the git tests. Either make them not use stubs, or remove them. |
|
Repository’s |
|
@joaomoreno Can you think of better way of writing those tests? I believe those tests, especially the ones for |
|
Or I can test not the whole |
* Instead of testing it through `getCommit` as we don't use stub in test
* as we don't use stub in test
|
@joaomoreno I've updated the PR. How does it look now? |
|
@joaomoreno Haven't had a chance to look at it again? |
|
Thanks! 🍻 |
Fix for the issue #44776. Why I fixed this way is written in #44776 (comment).
Please have a look 😉