Re: [PATCH 0/2] Don't make $GIT_DIR executable
- From
- Eric Wong <normalperson@yhbt.net>
- Date
- Nov 15, 2014, 07:50 UTC
- Message-ID
- <20141115075030.GA31043@dcvr.yhbt.net>
- In-Reply-To
- <1416036379-4994-1-git-send-email-mhagger@alum.mit.edu>
Michael Haggerty <mhagger@alum.mit.edu> wrote:
> Michael Haggerty (2): > create_default_files(): don't set u+x bit on $GIT_DIR/config > config: clear the executable bits (if any) on $GIT_DIR/config
Thanks, I should've noticed this earlier :x Tested-by: Eric Wong <normalperson@yhbt.net>
Since the damage is done, perhaps removing +x from $GIT_DIR/config on _any_ git operation would be appropriate.