Since the 'log --graph' is slow in the repo with long history, I wanna add '--since' option for it. I tried to add the following lines in my '.spacemacs' file.

(magit-define-popup-option 'magit-log-popup                                                                                                                                                             
                            "Since date"                                                                                                                                                                
                            (org-read-date nil nil "-1y")                                                                                                                                               

but it doesn't work. so I wonder how to make it.


1 Answer 1


I made it by following lines, but I don't know if my setting was wrong before.

       (list "--graph" "--decorate" "-n256"                                                                                                                                                                 
             (concatenate 'string "--since=" (org-read-date nil nil "-1y"))                                                                                                                                 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.