chiark / gitweb /
Emacs mode: automatically cd up to root of worktree
authorKarl Hasselström <kha@treskal.com>
Wed, 14 May 2008 00:04:32 +0000 (02:04 +0200)
committerKarl Hasselström <kha@treskal.com>
Wed, 14 May 2008 00:04:32 +0000 (02:04 +0200)
git's emacs mode automatically finds the root of the worktree, so that
the user doesn't have to. Teach StGit's emacs mode the same trick by
borrowing the git-get-top-dir function from git.

The borrowed code was written by Alexandre Julliard <julliard@winehq.org>.

Signed-off-by: Karl Hasselström <kha@treskal.com>

No differences found