Rémi Vanicat wrote:
> Ramkumar Ramachandra <[email protected]> writes:
>
>> Rémi Vanicat wrote:
>>> Ramkumar Ramachandra <[email protected]>
>>> writes:
>>>> The graph that magit-log shows is quite useless in large projects:
>>>> only the first few commits are shown,
>>>
>>> Using "e" will show more commit if needed.
>>
>> Yes, I know.  How many times do I press "e" to get 6-month old commits
>> in git.git or linux.git?
>
> Not so much. Each time you hit "e", it will show twice as many log. Be,
> for 6 month log commits in git.git? I need one "e":
>
>     C-u 3000 e
>
> and you have the last 3000 commit, (apparently 10 months ago in
> git.git). I have to concede that magit is slow with so many commit, and
> the graph get in the way.
>
> Mmm, removing the graph in magit could be done with
>
> #+begin_src elisp
>   (defun my-magit-i-do-not-want-graph ()
>      (interactive)
>      (setq magit-have-graph ()))
> #+end_src
>
> to be run in the magit-log buffer (this is untested, but it should
> work). It make magit-log much more quick by the way.

Minus the graph, I didn't expect 3000 magit-log-show-more-entries to
execute so quickly.  This is a great solution!  I'll write myself a
wrapper that turns off the graph and sets a large
magit-log-cutoff-length.

Thanks.

p.s- I was aiming for something like an infinitely scrollable log
(like in less), but Emacs is just not a pager; making it emulate one
using a temporary file is what I was attempting with e-sink.  I do use
async-shell-command to start the process and pipe it to a helper;
async-shell-command is useless by itself, because it keeps moving
point as it appends to the buffer.

-- 

--- 
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.


Reply via email to