Skip to content

Conversation

gerhardol
Copy link
Member

Fixes #11383

Proposed changes

Do not migrate empty settings

Test methodology

manual edit the settings file

Merge strategy

I agree that the maintainer squash merge this PR (if the commit message is clear).


✒️ I contribute this code under The Developer Certificate of Origin.

@ghost ghost assigned gerhardol Nov 22, 2023
@gerhardol gerhardol marked this pull request as ready for review November 22, 2023 22:39
Copy link
Member

@mstv mstv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have not run

Copy link
Member

@RussKie RussKie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RussKie RussKie added the 📭 needs: author feedback More info/confirmation awaited from OP; issues typically get closed after 30 days of inactivity label Nov 23, 2023
@ghost ghost removed the 📭 needs: author feedback More info/confirmation awaited from OP; issues typically get closed after 30 days of inactivity label Nov 25, 2023
@gerhardol
Copy link
Member Author

Could you please add a regression test to https://github.com/gitextensions/gitextensions/blob/master/UnitTests/GitCommands.Tests/UserRepositoryHistory/RepositoryStorageTests.cs?

Done
Existing case for null was meaningless (testing mocked value)

I have not investigated why this run repeatedly, I would expect it to only run once

@RussKie RussKie merged commit 2b124ac into gitextensions:release/4.0 Nov 25, 2023
@RussKie RussKie added this to the 4.2.1 milestone Nov 25, 2023
@gerhardol gerhardol deleted the feature/i11383-serialize-empty branch November 25, 2023 23:07
mstv pushed a commit to mstv/gitextensions that referenced this pull request Nov 26, 2023
* Do not migrate empty settings

* fixup! Do not migrate empty settings

---------

Co-authored-by: Gerhard Olsson <gerhardol@users.noreply.github.com>
(cherry picked from commit 2b124ac)
This was linked to issues Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[NBug] serialised [NBug] serialised
3 participants