chiark / gitweb /
el/dot-emacs.el: Basic configuration (and fixes) for Magit's repo list.
By default it should look in `~/src/' for repositories -- duh. A
`~/.emacs-local' can override the list as appropriate.
Unfortunately, Magit's repo list is rather buggy.
* The function `magit-rep-list' returns filenames rather than
directory names, and Emacs (24, at least) then sets the wrong
current directory when running inferior processes to find out about
the repos.
* The functions `magit-repolist-column-un{pulled-from,pushed-to}-
{upstream,pushremote}' are just screwed because they expect `magit-
get-{push,upstream}-branch' to magically turn `nil' into the current
branch name, which isn't going to happen.
So, configure things, and hack around the bugs.