[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A project-files implementation for Git projects
From: |
Tassilo Horn |
Subject: |
Re: A project-files implementation for Git projects |
Date: |
Sat, 14 Sep 2019 18:43:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Dmitry Gutov <address@hidden> writes:
>> Yes, I guess ideally it would take a list of vc-states like
>> up-to-date, edited, needs-update (probably with the exclusion of
>> unregistered) and list the files in any of the given states.
>
> Why exclude unregistered? I don't imagine they would slow anything
> down.
Because IMHO they are not interesting except if they were just created
by myself and not yet added which seemed like a minor edge case (and at
least git ls-files lists files which are not yet committed but staged).
And because it seems to me that git is more an exception in being able
to list unregistered files.
> In addition to states, the command will likely need a second argument:
> the list of ignores. It can default to whatever Git ignores already,
> but we could also just pass the whole list of ignores anyway.
>
> Speaking of ignores format, maybe they should just be whatever the
> backend in question understands, e.g. the contents of gitignore
> verbatim.
I don't see how that would work except by modifying (or moving back and
forth) the existing .{git,hg,bzr}ignore to include project-vc-ignores.
Bye,
Tassilo
- Re: A project-files implementation for Git projects, (continued)
- Re: A project-files implementation for Git projects, Tassilo Horn, 2019/09/16
- Re: A project-files implementation for Git projects, Dmitry Gutov, 2019/09/17
- Re: A project-files implementation for Git projects, Tassilo Horn, 2019/09/18
- Re: A project-files implementation for Git projects, Dmitry Gutov, 2019/09/19
- Re: A project-files implementation for Git projects, Tassilo Horn, 2019/09/22
- Re: A project-files implementation for Git projects, Dmitry Gutov, 2019/09/22
- Re: A project-files implementation for Git projects, Tassilo Horn, 2019/09/23
- Re: A project-files implementation for Git projects, Dmitry Gutov, 2019/09/23
- Re: A project-files implementation for Git projects, Tassilo Horn, 2019/09/27
- Re: A project-files implementation for Git projects, Dmitry Gutov, 2019/09/13
- Re: A project-files implementation for Git projects,
Tassilo Horn <=
- Re: A project-files implementation for Git projects, Dmitry Gutov, 2019/09/15
- Re: A project-files implementation for Git projects, Dmitry Gutov, 2019/09/15
- Re: A project-files implementation for Git projects, Robert Pluim, 2019/09/10
- Re: A project-files implementation for Git projects, Dmitry Gutov, 2019/09/10
- Re: A project-files implementation for Git projects, Eli Zaretskii, 2019/09/10