Well,
1/ I indeed use old version of Magit (after trying to upgrade in
~September, I decided to return back)
2/ I indeed added myself this command/function, to use the current
line as the base for rewriting
Commit msg.: from LOG start-rewriting history w/ no questions (unless C-u)
(define-key magit-log-mode-map (kbd "r s") 'magit-invoke-rewrite-start)
(defun magit-invoke-rewrite-start (prefix)
"different args, to be used inside the *Log* buffer"
(interactive "P")
(if prefix
(call-interactively 'magit-rewrite-start)
(magit-rewrite-start (magit-default-rev))))
3/ I see this change to the magit.texi, applied recently:
+ (Unless you already do so, we recommend that you don't use the
+functionality described here. It is semi-deprecated and will be
+removed once its unique features have been ported to the @code{git
+rebase --interactive} workflow. Even now the latter is almost always
+the better option.)
I didn't know about this "git rebase --interactive" getting as usable
as magit rewriting.
I like "magit rewriting", and the old workflow of Magit.
On 17 January 2014 13:28, Tassilo Horn <[email protected]> wrote:
> Michal Maruska <[email protected]>
> writes:
>
> Hi Michal,
>
>> the better way (at least in past versions of Magit) is to
>> magit-invoke-rewrite-start.
>
> That's not even defined in my MELPA version of Magit.
>
>> For example in the Log buffer "r s" invokes that.
>
> That would do `magit-rewrite-stop' here. "r b" would do
> `magit-rewrite-start' which is probably the right command. However,
> then I'm queried
>
> Rewrite from (default v0.14.4):
>
> and I have no idea what do answer. Probably, I want HEAD~7 or something
> like that, but "r b" doesn't seem to do an interactive rebase. I'm not
> dropped into a rebase buffer where I can pick and squash...
>
> Bye,
> Tassilo
>
> --
> You received this message because you are subscribed to the Google Groups
> "magit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"magit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.