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

Make .gitignore.d & gitattributes.d XDG compatible #180

Open
nfarrar opened this issue Aug 23, 2015 · 4 comments · May be fixed by #284
Open

Make .gitignore.d & gitattributes.d XDG compatible #180

nfarrar opened this issue Aug 23, 2015 · 4 comments · May be fixed by #284

Comments

@nfarrar
Copy link

nfarrar commented Aug 23, 2015

Vcsh currently reads the ignore & attribute data from files located at $VCSH_BASE/.gitignore.d/$VCSH_REPO_NAME and $VCSH_BASE/.gitattributes.d/$VCSH_REPO_NAME (respectively). I prefer to keep $HOME as uncluttered as possible and organize application configurations into application-specific configuration directories (using the XDG) specification defaults:

$XDG_CONFIG_HOME/vcsh/.gitignore.d/$VCSH_REPO_NAME
$XDG_CONFIG_HOME/vcsh/.gitattributes.d/$VCSH_REPO_NAME

Would it be possible to add support for these paths?

@nfarrar
Copy link
Author

nfarrar commented Mar 31, 2016

Just checking back in. Any chance to get support for these? :)

@kwbr
Copy link

kwbr commented Oct 12, 2016

I tested the patch provided by @miramir (#203). This works for me.

It would be nice of course, to have $XDG_CONFIG_HOME as the default for the variables for newly created vcsh-repositories.

@hvhaugwitz
Copy link

What is the state of this request?

@alerque
Copy link
Collaborator

alerque commented Apr 2, 2021

See also my comments in #203, I would like to see this fixed too, although issues of migration are of course sensitive.

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 a pull request may close this issue.

4 participants