Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

submodules IsDirty item status #7869

Merged
3 commits merged into from Mar 24, 2020

Conversation

gerhardol
Copy link
Member

@gerhardol gerhardol commented Mar 15, 2020

Fixes #7856

Proposed changes

Handle IsDirty attribute separate for submodules, previously it was sharing with IsTracked (if IsSubmodule is set, the item is always tracked). This special handling worked where the info was used, but this was incorrectly used in FormCommit.

A simplification (Replace ViewCurrentChanges with ViewChangesAsync) as a followup to #7825 will also address this, but this change should be done too.
This part is separated, to simplify reviews.

Also cleaned up the tests for parsing git-status some.

git-diff is not changed, the changed files is a consequence of using approval tests.

Screenshots

See #7856

Test methodology

Updated test cases


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

@ghost ghost assigned gerhardol Mar 15, 2020
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.

LGTM, have not run it

@gerhardol gerhardol force-pushed the feature/submodule-isdirty branch 2 times, most recently from 42451d5 to 5ecb56b Compare March 22, 2020 10:01
@gerhardol

This comment has been minimized.

@ghost

This comment has been minimized.

@gerhardol
Copy link
Member Author

@msftbot merge in 24 hours

@ghost ghost added the status: auto merge label Mar 23, 2020
@ghost
Copy link

ghost commented Mar 23, 2020

Hello @gerhardol!

Because you've given me some instructions on how to help merge this pull request, I'll be modifying my merge approach. Here's how I understand your requirements for merging this pull request:

  • I won't merge this pull request until after the UTC date Tue, 24 Mar 2020 18:27:35 GMT, which is in 1 day

If this doesn't seem right to you, you can tell me to cancel these instructions and use the auto-merge policy that has been configured for this repository. Try telling me "forget everything I just told you".

@ghost ghost merged commit ccf0ba4 into gitextensions:master Mar 24, 2020
@ghost ghost added this to the 4.0 milestone Mar 24, 2020
@gerhardol gerhardol deleted the feature/submodule-isdirty branch March 24, 2020 18:52
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incomplete submodule info
3 participants