From: Jacob Keller Date: Sun, 27 Mar 2016 07:36:03 GMT Subject: Re: [RFC/GSOC] Git Beginner | Warnings for potentially destructive commands Message-ID: In-Reply-To: On Sat, Mar 26, 2016 at 8:12 AM, Matthieu Moy wrote: > Jacob Keller writes: > >> If possible, I would suggest aiming for generating the actual topology >> that the user is seeing, customized so that it gives relevenat >> information, rather than static examples. > > Using the real topology in a useful way is actually pretty hard. It's > quite easy to throw the output of "git log --graph --oneline ..." to the > user, but as soon as the rebase deals with more than a handfull of > commits, we'd want to simplify the history to show something > understandable to the user (which by definition should be a beginner if > he uses ggit), like replacing long sequences of commits with "..." or > so. That is hard to get right. > Yes, in which case we should go Junio's route of not using anything from the real topology. Thanks, Jake