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

[Bug] after 2.50 unable to use "Revert selected lines" from commit window #3819

Closed
erikleo opened this issue Jul 6, 2017 · 2 comments
Closed

Comments

@erikleo
Copy link

erikleo commented Jul 6, 2017

Do you want to request a feature or report a bug?
BUG

What is the current behavior?
getting error:



error: app/index.js: does not match index

diff --git a/app/index.js b/app/index.js
index cb12d37..605d9c3 100644
--- a/app/index.js
+++ b/app/index.js
@@ -8,7 +8,6 @@

initDependencyContainer();

-//test change

ReactDOM.render(, document.getElementById('root'));
// registerServiceWorker();

GitExtensions 2.50.00

OK

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Make a change, press commit, then right click on a changed line and choose "Revert selected lines"

I have tried and get the same error on multiple machines and multiple repositories

What is the expected behavior?
changes should be reverted instead of error

Which versions of GitExtensions, GIT and Windows are affected by this issue? Did this work in previous versions of our tool?
was working on previous version

@jbialobr jbialobr added this to the 2.50.01 milestone Jul 7, 2017
@jbialobr
Copy link
Member

jbialobr commented Jul 7, 2017

You probably want to Reset selected lines (the menu item at the botom of the context menu). The revert item is enabled by mistake, it is only for a commited diff.

@erikleo
Copy link
Author

erikleo commented Jul 7, 2017

Yes, that was it. Thanks Janusz!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants