You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unstaged changes lost when pre-commit plugin modified #129
During a commit I received the message "The following pre-commit plugins have been added, changed, or..." since a plugin had been modified. At that point (before running overcommit --sign pre-commit), I checked git status and noticed unstaged items were lost.
changed the title [-]Unstaged changes lost when pre-commit plugin has been modified[/-][+]Unstaged changes lost when pre-commit plugin modified[/+]on Mar 11, 2015
Are you sure they aren't in your stash? While this is a bug (we should properly restore the stash if the plugin signature validation fails), I believe we always stash changes so that they are never lost.
Activity
[-]Unstaged changes lost when pre-commit plugin has been modified[/-][+]Unstaged changes lost when pre-commit plugin modified[/+]sds commentedon Mar 11, 2015
Hey @seanpclark,
Are you sure they aren't in your stash? While this is a bug (we should properly restore the stash if the plugin signature validation fails), I believe we always stash changes so that they are never lost.
seanpclark commentedon Mar 11, 2015
@sds You're totally correct... it was stashed and I didn't think to check. Restoring stash would resolve the issue.
Update changelog with fix for #129