-
Notifications
You must be signed in to change notification settings - Fork 46
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
Not working currently? #10
Comments
That's right. Smudge is only run on checkout. If you are checking out for the first time (or from another branch) the correct git information is not available. After the initial checkout/switch you can run |
There's now an installer script to work around this in most cases |
Hint: pls see my fork |
@kimmormh your install script gives errors on osx
@kabel so everytime i commit anything, i need to checkout the whole project? That's less than ideal. I noticed that my original issue wasn't stating alot, but it was meant "after commit & push, unless i rm and checkout the file again it doesn't work" |
There's no need to rm. Just doing a checkout (which only takes a second), triggers the filters to run again. I understand that it's less than ideal, but that's how git works (for smudge/clean filters). You could certainly "automate" this process with git hooks like |
Sorry bout the syntax error guys, it's fixed now |
On Fri, 2012-03-09 at 15:39 -0800, dylandog wrote: It's fixed now
|
You can install a git hook by installing a file like https://gist.github.com/2024831 in the For more information about how to install git hooks, please see http://schacon.github.com/git/githooks.html |
Doesn't work for me either. Cloned the repo, did: git checkout HEAD Any clue? |
Unless i rm and checkout again manually every single file, it doesn't seem to work? is it supposed to?
The text was updated successfully, but these errors were encountered: