Jeff King <peff@xxxxxxxx> writes: > Yeah, I had a similar thought, but it just feels so hacky. Is there > anything wrong with making this completely separate from the content > update. I.e., just applying the pathspec to the index as a separate step > and adding "+x" to each entry? > > This really is just a more convenient interface around "update-index > --chmod", isn't it? We should be able to do the same thing it does. Sure, the simplest and the most straight-forward way may look dumb, but it would be the safest.