Skip to content

Git Pull failure due to pending commit results in an SCM status of 'Up to date'. #18

Description

@NeoSword

Hello,
In this case if a user tries to update(GIT) with edits to a local file copy and there have been edits to the same remote file the pull will fail as expected.
= [up to date] master -> origin/master
Updating c23fd2c..5e52943
error: Your local changes to the following files would be overwritten by merge:
SomeFileYouChanged.ps1
Please, commit your changes or stash them before you can merge.
Aborting

After this failure SCM notifier will (Correctly) show the pending commit still needed. But it will also report (Incorrectly)that your up to date(Green icon) and will not allow you to click "Update".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions