Warn during Cleanup when "expire reflogs" is enabled and user has one or more stashes

Christopher Kline 3 years ago updated by Marc Strapetz 3 years ago 2

When using the Local | Clean Up dialog, there's an option to 'reset (expire) reflogs now'. If this option is selected, any stashes may be deleted.

As I found out to my detriment (I lost several weeks of work), this is normal git behavior. But my assumption when using any revision control GUI is that any operation that can destroy data will at least be guarded by a confirmation dialog.

As a suggestion, please consider a warning dialog in this case, to protect people from unwittingly losing their stashes.


I wasn't aware of this either. I think it will even be better to remove the option.