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

Enhancement: allow select files to go directly to git #71

Open
malaybasu opened this issue Aug 20, 2015 · 3 comments
Open

Enhancement: allow select files to go directly to git #71

malaybasu opened this issue Aug 20, 2015 · 3 comments

Comments

@malaybasu
Copy link

git-fat is a wonderfully simple system. But I find one feature to be missing. I would like to keep some binary files directly under git. The current gitattributes looks like all or none rule of putting a file type under git-fat. It will be nice to have this capability.

@jedbrown
Copy link
Owner

You can use gitattributes on a per-directory basis, for example. But we're intrinsically dependent on the gitattributes system to decide when to apply filters. Maybe you're suggesting that git-fat have its own rule system to decide when the clean filter should be "cat" instead of creating a git-fat stub? That would be possible with the %f support in git-1.7.4 and later, but it's definitely a more complicated system and file access on each clean filter could become a performance problem. Do you really want that? How would you like to express your rules?

@malaybasu
Copy link
Author

Thanks for the suggestion. The per-directory gitattributes works fine and do the job now. I guess a priority based system is the ideal. I am not very conversant with git internals. How git handles with multiple rules matching the same file? How git fat handles the scenario? I have one more problem: git status does not show stale files anymore? Should I submit a bug report?

@jedbrown
Copy link
Owner

jedbrown commented Aug 20, 2015 via email

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

No branches or pull requests

2 participants