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

Add ability to link untracked files #118

Open
andsens opened this issue Oct 12, 2014 · 3 comments
Open

Add ability to link untracked files #118

andsens opened this issue Oct 12, 2014 · 3 comments

Comments

@andsens
Copy link
Owner

andsens commented Oct 12, 2014

PR #113 brought up the issue of being able to link untracked files.
Here are two use cases:

The motivation for this is that I have some dotfiles that are untracked by git since they contain private information but which I still want to link.
Also, when I'm working on my emacs configuration I sometimes have new files that I don't want to track right away but there's no way to link them easily since they're inside a submodule.

@andresilva
Copy link
Contributor

Hey!
Now that issue #108 is fixed would you consider merging this feature if I were to update my implementation (i.e. PR #113)? This is really important for me and currently I'm using my own fork of homeshick with this implemented.

@andsens
Copy link
Owner Author

andsens commented Nov 11, 2014

Yeah, totally. Go right ahead. I'll review and merge :-)

@andsens
Copy link
Owner Author

andsens commented Nov 11, 2014

Oh, you'll probably have a bit more of a challenge implementing it this time around. I had to factor the listing of submodule files out into an executable script because git submodule foreach executes code in a weird way before 2.0. I think you'll have to either add a parameter to submodule-files.sh or export a variable. Sorry :-/

Alternatively: If you can figure out how to get the code in submodule-files.sh back into the get_repo_files() function again, that'd be even better :-)

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

No branches or pull requests

2 participants