Reset to Parent Revision

* support reset to parent revision for Added files too
* support reset to parent revision in Files tab
* support reset to parent revision in Changes - now supports Renamings too

now it behaves more like git-extensions
This commit is contained in:
Yitzchak Ben-Ezra 2024-08-30 15:42:09 +03:00
parent 089f24b0d2
commit 8c9e8e5dbc
2 changed files with 43 additions and 23 deletions

View file

@ -58,7 +58,7 @@ namespace SourceGit.Commands
public bool FileWithRevision(string file, string revision)
{
Args = $"checkout {revision} -- \"{file}\"";
Args = $"checkout --no-overlay {revision} -- \"{file}\"";
return Exec();
}