From: Karl Hasselström Date: Wed, 14 May 2008 08:13:21 GMT Subject: Re: [StGit PATCH] Emacs mode: automatically cd up to root of worktree Message-ID: <20080514081321.GB21708@diana.vm.bytemark.co.uk> In-Reply-To: <87r6c5uyhb.fsf@lysator.liu.se> On 2008-05-14 09:38:24 +0200, David Kågedal wrote: > Karl Hasselström writes: > > > 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 > > . > > > > Signed-off-by: Karl Hasselström > > Signed-off-by: David Kågedal I guess you mean "Acked-by"? > Excellent. It's an itch that I've been meaning to scratch for some > time. Me too. I've gotten into the habit of running "C-x b *stgit*" to get to the StGit buffer, just so I don't have to give the right directory every time. -- Karl Hasselström, kha@treskal.com www.treskal.com/kalle