[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: git-handler.el
From: |
Eli Zaretskii |
Subject: |
Re: git-handler.el |
Date: |
Sun, 13 Aug 2017 17:31:58 +0300 |
> From: Yuri Khan <address@hidden>
> Date: Sun, 13 Aug 2017 17:08:35 +0700
> Cc: Jonas Bernoulli <address@hidden>, Dmitry Gutov <address@hidden>,
> Emacs developers <address@hidden>
>
> On Sun, Aug 13, 2017 at 4:14 PM, Michael Albinus <address@hidden> wrote:
>
> >> As a Git user, I frequently want to
> >> browse the whole repository as of a specific revision. Use case: “Two
> >> months ago, function foo was changed to call function bar. How did bar
> >> look at that point?”
> >
> > You know, that function bar is declared in file baz.el.
>
> Not necessarily. It is today, but two months ago it could have resided
> in any of baz.el, quux.el or xyzzy.el.
If you don't know its file, how will you find it?
> > So you could
> > inspect the revisions of baz.el by looking into directory
> > "/home/albinus/src/emacs/lisp/baz.el@@/master" (given you're interested
> > in branch master).
>
> In the use case being discussed, I’m not interested in master. Or,
> more specifically, not in its current position, and not in the whole
> set of its commits that modify baz.el. I am interested in one specific
> commit, say ef7a18a071, that does not modify baz.el.
Then you should look inside src/emacs/lisp@@/ef7a18a071, I think. Why
is that a problem?
> * I never use find-file interactively except to create a new file or
> jump to a directory on a remote server (via Tramp).
> * I navigate from a file to its containing directory or from a
> directory to its parent using dired-jump, and from a directory to a
> file using dired-find-file.
This just means Dired will need to be taught about these special file
names.
- Re: git-handler.el, (continued)
- Re: git-handler.el, Michael Albinus, 2017/08/12
- Re: git-handler.el, Yuri Khan, 2017/08/12
- Re: git-handler.el, Michael Albinus, 2017/08/13
- Re: git-handler.el, Yuri Khan, 2017/08/13
- Re: git-handler.el,
Eli Zaretskii <=
- Re: git-handler.el, Yuri Khan, 2017/08/13
- Re: git-handler.el, Eli Zaretskii, 2017/08/13
- Re: git-handler.el, Michael Albinus, 2017/08/14
- Re: git-handler.el, Michael Albinus, 2017/08/14