mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-27 03:49:12 +00:00
Changed behavior when reverting a file since there are still possible staged hunks (fixes bug #577298)
This commit is contained in:
parent
c5e8342da5
commit
cf38234be6
|
@ -810,7 +810,8 @@ gitg_commit_revert(GitgCommit *commit, GitgChangedFile *file, gchar const *hunk,
|
|||
|
||||
g_free(path);
|
||||
|
||||
remove_file(commit, file);
|
||||
update_index_file(commit, file);
|
||||
update_index_unstaged(commit, file);
|
||||
g_object_unref(f);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue