On Wed, Oct 1, 2014 at 9:55 AM, Dale R. Worley <wor...@alum.mit.edu> wrote:
>> From: Sam Roberts <vieuxt...@gmail.com>
> I'm no expert here, but how would it "damage the local user's repo"?
> All you have to ensure is that the .gitattributes not be part of the
> commit, and that during the git-add, it contains the right contents to
> get the effect you want.

And that after, its removed, even if the user SIGTERMed your command
during the add, before the script got to removing the .gitattributes.

I think I'll do this using an env variable, completely replacing the
user's config, since the env var is set only in my script, it can't
leak into the surrounding user's configuration.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to