[LLVMdev] [cfe-dev] RFC: put commit messages in *-commits subject lines?
Jordan Rose
jordan_rose at apple.com
Fri Nov 30 10:13:06 PST 2012
On Nov 30, 2012, at 9:43 , Sebastian Pop <spop at codeaurora.org> wrote:
> Hi,
>
> Sebastian Pop wrote:
>> Chris Lattner wrote:
>>> I'm in favor of it. Of course, the truly awesomest thing would be something like:
>>>
>>> [cfe-commits] r167788 - [lib/Analysis] Fix bad CFG construction bug when handling C++ 'try' statements.
>>
>> commit_subject_template = %(prefix)s r%(revision)s - %(log)s
>
> I just realized that this line does not match Chris' subject line as it doesn't
> print the directories touched by the patch. Please use the following instead:
>
> commit_subject_template = %(prefix)s r%(revision)s - [%(dirs)s] %(log)s
I would love some magic to filter out test/XXX from the subject line if anything in lib/ has been changed...maybe something like this?
[clang]
for_paths = tools/clang
exclude_paths = tools/clang/test
show_nonmatching_paths = yes
[clang_test]
for_paths = tools/clang/test
ignore_if_other_matches = yes
Jordan
More information about the llvm-dev
mailing list