From: Junio C Hamano Date: Wed, 18 May 2011 03:52:08 GMT Subject: Re: [PATCH] add -i: ignore terminal escape sequences Message-ID: <7vipt8fyxj.fsf@alter.siamese.dyndns.org> In-Reply-To: <05ce7ccdb3f4e07724d430f6ea2a8c9730971c9d.1305645331.git.trast@student.ethz.ch> writes: > I nearly managed to lose a bunch of uncommitted work today, but could > salvage most of it from the pieces of diffs in the terminal > scrollback. Sigh. I think the take-home lesson is that confirmation offered in the default mode is valuable. The "single-key" mode is another long rope that I would not use myself, but the users can choose to hang themselves with. Jokes aside, it may make sense to offer an extra confirmation for "a" and possibly "s" in single-key mode. Unlike others, they are destructive when the changes you are splitting from the working tree is large-ish. > Oh yeah, PS: I'm alive ;-) Good to hear.