Re: [RFC/GSOC] Git Beginner | Warnings for potentially destructive commands
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Mar 26, 2016, 15:12 UTC
- Message-ID
- <vpqfuvdi87u.fsf@anie.imag.fr>
- In-Reply-To
- <CA+P7+xqkqfccQtWeKbURZt21i+gw=b7f0YHHuqeNzM7TH2m+6g@mail.gmail.com>
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.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/