On Mon, Apr 14, 2014 at 02:55:51PM +0300, Tony Papadimitriou wrote: > I often have the same problem for a different reason. I type “f cha” and “f > com” so often that sometime instead of “f cha” I accidentally type “f com”. > > What I would like to have is an extra prompt, “Are you sure (y/N)?” with No > default for commits. Since commits are irreversible, I think the extra prompt > to safeguard against typing accidents will be welcome by most users without > adding too much burden to each commit. Then again, it could also be activated > via some setting so those who don’t want it can do without it. >
Since fossil commit start an editor and having empty commit message give you a kind of "Are you sure" prompt already, how can you commit by mistake when typing "f com" instead of "f cha" ? It's not like you will type: f com -m "some text" when you were about to type "f cha" ... Regards. -- Martin G. _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users