Changed behavior when reverting a file since there are still possible staged hunks (fixes bug #577298)

This commit is contained in:
Jesse van den Kieboom 2009-04-05 18:01:14 +02:00
parent c5e8342da5
commit cf38234be6

View file

@ -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