Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding basic git ls-files support #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sherrman
Copy link

  • Tracked and untracked files
  • defcustom for disabling git ls-files usage
  • defcustom for disabling untracked files (i.e. show only tracked files
    in the results).

- Tracked and untracked files
- defcustom for disabling git ls-files usage
- defcustom for disabling untracked files (i.e. show only tracked files
  in the results).
@sherrman
Copy link
Author

git ls-files doesn't support filtering directories. When I get some more time, I think that using some emacs lisp to filter out just directories would work, and I'll fix that plus the tests.

@d11wtq
Copy link
Contributor

d11wtq commented Feb 24, 2014

@sherrman thanks! I'll try this out later. From a quick look at git ls-files, it does seem like you'd be able to just post-process the list to filter out directories, but another solution would be to just call the original function if type is directory. Let me know if the tests cause you any grief.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants