---
This need a keybiding, but only in the log view. But as the log view use
the same mode than the status (and other), it's a little complicated...
magit.el | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/magit.el b/magit.el
index 59430cd..168815b 100644
--- a/magit.el
+++ b/magit.el
@@ -3210,6 +3210,18 @@ Prefix arg means justify as well."
(let ((res (magit-git-exit-code "log" "--decorate=full"
"--max-count=0")))
(setq magit-have-decorate (eq res 0)))))
+(defun magit-reload-log (&optional arg)
+ (interactive "P")
+ (let ((added (cond
+ ((numberp arg) arg)
+ (arg (read-from-minibuffer "Log entry to add: " () () t
()-value 100))
+ (t 100))))
+ (make-local-variable 'magit-log-cutoff-length)
+ (setq magit-log-cutoff-length (+ magit-log-cutoff-length added)))
+ (magit-refresh))
+
+
+
(defun magit-refresh-log-buffer (range style args)
(magit-configure-have-graph)
(magit-configure-have-decorate)
--
1.7.0.3
--
Rémi Vanicat
--
To unsubscribe, reply using "remove me" as the subject.