mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-09-17 13:37:18 +03:00
restore to selected commit after reset
This commit is contained in:
parent
2b7052cb06
commit
48b5e85dc5
@ -271,7 +271,7 @@ bool Commit::reset(git_reset_t type, const QStringList &paths) const {
|
||||
Repository repo = this->repo();
|
||||
int state = repo.state();
|
||||
int error = git_reset(repo, d.data(), type, &opts);
|
||||
emit repo.notifier()->referenceUpdated(repo.head());
|
||||
emit repo.notifier()->referenceUpdated(repo.head(), true);
|
||||
if (repo.state() != state) {
|
||||
Patch::clearConflictResolutions(repo);
|
||||
emit repo.notifier()->stateChanged();
|
||||
|
Loading…
Reference in New Issue
Block a user