On Tue, May 3, 2011 at 1:06 PM, Rémi Vanicat <[email protected]> wrote:

> Philip Weaver <[email protected]> writes:
>
> [...]
> >>
> >> But in fact, the main problem I see with rewrite as it is working now in
> >> head is that if I say to magit "I want to rewrite commit master~6" (that
> >> is r b master~6 RET) then master~6 won't be rewrote, and this seam
> strange
> >> to me. I believe we should just revert the commit. If no objection, I
> >> will probably do it this week-end.
> >>
> >> [...]
> >>
> >
> > That is a behavior of git.
>
> Not exactly, it's a behavior of git rebase --interactive, but to rebase
> and to rewrite is not the same. Well it used to do the same things
> (rewriting history) but the used word don't mean the same things. Note
> in particular that magit rewrite is wrote mainly in Emacs lisp and don't
> use some magit high level tools, but only reset, log and stuff of this
> level of abstraction
>
>
Oh, I had no idea.  That's a good feature to know about, thanks.


> [...]
>
> --
> Rémi Vanicat
>

Reply via email to