Philip Jackson <[email protected]> writes: >> My implementation has 17 options for `log'. Each option requires just >> one trivial line of code. I think that Phil's implementation doesn't >> require much more for reflecting git options. > > Do you have another branch? I count 11 which aren't too dissimilar to > the ones I added. Here's your definition: > > (list '("Log" ?l "One line log" magit-log) > '("Log" ?L "Detailed log" magit-log-long) > '("Log" ?h "Reflog" magit-reflog) > '("Log" ?H "Reflog head" magit-reflog-head) > '("Log" ?a "--all" "All branches" magit-true) > '("Log" ?g "--grep=" "Containing regexp" read-from-minibuffer) > '("Log" ?A "--author=" "By author" read-from-minibuffer) > '("Log" ?C "--committer=" "By committer" read-from-minibuffer) > '("Log" ?F "--first-parent" > "Follow only first parent" magit-true) > '("Log" ?B "--branches=" "Branches" read-from-minibuffer) > '("Log" ?R "--relative=" "Restrict to path" read-directory-name)
You have an old version. This is the definition pushed on August 5, before my last request for feedback: http://github.com/oscarfv/magit/blob/key-groups/magit.el#L1581
