[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vc-dir default directory: repository root?

From: Wolfgang Jenkner
Subject: Re: vc-dir default directory: repository root?
Date: Sun, 11 Jan 2015 16:53:18 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (berkeley-unix)

On Fri, Jan 09 2015, Daniel Colascione wrote:

> I'd like to apply this patch. When I use vc-dir, I almost always want to
> look at the root of the repository, not the portion that contains the
> file I'm editing. What do you think?
>      (file-truename (read-directory-name "VC status for directory: "
> -                                     default-directory default-directory t
> +                                     (vc-root-dir) nil t

It's much more convenient to delete some trailing components of the
directory name than to add them.  I think that the current behaviour
makes sense, in particular for large or rather heterogeneous repos.

Wolfgang (stating the obvious)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]