GNOME Bugzilla – Bug 769897
Crash during discarding unstaged changes on empty list
Last modified: 2016-08-15 11:48:27 UTC
Program crashed when clicking "discard changes" in "unstaged" section when there are no files on list [Reproduce steps] 1. Go to staging area section 2. Right click on Unstaged section 3. Click discard changes 4. When list is empty crash occurs [Core dump] [Current thread is 1 (Thread 0x7f49fcaa8a40 (LWP 11498))] (gdb) bt
+ Trace 236539
Created attachment 333295 [details] [review] Crash during discarding unstaged changes on empty list Program crashed when clicking "discard changes" in "unstaged" section when there are no files on list Fix cancels further action if unstaged changes list is empty
Created attachment 333297 [details] [review] Crash during discarding unstaged changes on empty list Program crashed when clicking "discard changes" in "unstaged" section when there are no files on list Fix cancels further action if unstaged changes list is empty
Review of attachment 333297 [details] [review]: The indentation seems wrong. Can u fix it?
Created attachment 333298 [details] [review] Crash during discarding unstaged changes on empty list Program crashed when clicking "discard changes" in "unstaged" section when there are no files on list Fix cancels further action if unstaged changes list is empty
(In reply to Ignacio Casal Quinteiro (nacho) from comment #3) > Review of attachment 333297 [details] [review] [review]: > > The indentation seems wrong. Can u fix it? Done in newest patchset
Seems I overlooked the patch, sorry about that :( In the mean time I pushed another fix for the same issue. Thanks for the patch though!!