mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 13:14:59 +00:00
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:
parent
089f24b0d2
commit
8c9e8e5dbc
2 changed files with 43 additions and 23 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue