Re: [RFC/GSOC] Git Beginner | Warnings for potentially destructive commands
- From
Jacob Keller <jacob.keller@gmail.com>
- Date
- Mar 27, 2016, 07:36 UTC
- Message-ID
- <CA+P7+xoy0OqnEiHZAtWbMsqL6SUO7n1DRHTj_DMJEN3y5JKZoQ@mail.gmail.com>
- In-Reply-To
- <vpqfuvdi87u.fsf@anie.imag.fr>
On Sat, Mar 26, 2016 at 8:12 AM, Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> wrote:
Show 14 quoted lines
> Jacob Keller <jacob.keller@gmail.com> 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