Re: [PATCH] D20366: [ASTMatcher] Make dump_ast_matchers.py executable.

2016-05-26 Thread Aaron Ballman via cfe-commits
aaron.ballman added a comment.

In http://reviews.llvm.org/D20366#433204, @hokein wrote:

> In http://reviews.llvm.org/D20366#433123, @aaron.ballman wrote:
>
> > What's the harm in leaving the props at 0644?
>
>
> Just inconvenient . And I see the `dump_format_style.py` in the same 
> directory is executable.


I guess I would recommend making both python scripts executable with 
svn:executable is the correct way to go, instead of setting the file mode 
directly.


http://reviews.llvm.org/D20366



___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


Re: [PATCH] D20366: [ASTMatcher] Make dump_ast_matchers.py executable.

2016-05-18 Thread Haojian Wu via cfe-commits
hokein added a comment.

In http://reviews.llvm.org/D20366#433123, @aaron.ballman wrote:

> What's the harm in leaving the props at 0644?


Just inconvenient . And I see the `dump_format_style.py` in the same directory 
is executable.


http://reviews.llvm.org/D20366



___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


Re: [PATCH] D20366: [ASTMatcher] Make dump_ast_matchers.py executable.

2016-05-18 Thread Aaron Ballman via cfe-commits
aaron.ballman added a comment.

In http://reviews.llvm.org/D20366#433103, @hokein wrote:

> In http://reviews.llvm.org/D20366#433054, @aaron.ballman wrote:
>
> > Yeah, I'm not certain either (I've never used phab for reviewing this sort 
> > of thing). I would prefer this to be 0744 so that it is not group or world 
> > executable.
>
>
> No idea on this now. I tried `chmod 744` either in `git.core.filemode=true` 
> or in  `git.core.filemode=false`, the git always shows 755 in the commit :(.


It sounds like this may be a git thing and what you really want is 
svn:executable. However, the documentation doesn't specify *what* permissions 
that file winds up with 
(http://svnbook.red-bean.com/en/1.7/svn.advanced.props.file-portability.html#svn.advanced.props.special.executable).

What's the harm in leaving the props at 0644?


http://reviews.llvm.org/D20366



___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


Re: [PATCH] D20366: [ASTMatcher] Make dump_ast_matchers.py executable.

2016-05-18 Thread Haojian Wu via cfe-commits
hokein added a comment.

In http://reviews.llvm.org/D20366#433054, @aaron.ballman wrote:

> Yeah, I'm not certain either (I've never used phab for reviewing this sort of 
> thing). I would prefer this to be 0744 so that it is not group or world 
> executable.


No idea on this now. I tried `chmod 744` either in `git.core.filemode=true` or 
in  `git.core.filemode=false`, the git always shows 755 in the commit :(.


http://reviews.llvm.org/D20366



___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


Re: [PATCH] D20366: [ASTMatcher] Make dump_ast_matchers.py executable.

2016-05-18 Thread Haojian Wu via cfe-commits
hokein added a comment.

I don't why the diff shows 755 here. But in my local directory, it's 
`rwxr--r--`.


http://reviews.llvm.org/D20366



___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[PATCH] D20366: [ASTMatcher] Make dump_ast_matchers.py executable.

2016-05-18 Thread Haojian Wu via cfe-commits
hokein created this revision.
hokein added a reviewer: aaron.ballman.
hokein added a subscriber: cfe-commits.

http://reviews.llvm.org/D20366

Files:
  docs/tools/dump_ast_matchers.py



___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits