[PATCH] git-clang-format: Add --cached option to format index

2017-06-02 Thread Kevin Locke via cfe-commits
Add --cached option to git-clang-format which behaves analogously to --cached for other git subcommands, by causing the operation to work against the index state rather than the working directory state. This can be particularly useful for hook scripts which need to check or change the formatting o

Re: [PATCH]: git-clang-format

2016-02-08 Thread Alexander Shukaev via cfe-commits
On 02/08/2016 12:32 PM, Manuel Klimek wrote: I believe you forgot to add cfe-commits as subscriber on the patch. On Sun, Feb 7, 2016 at 12:51 PM Alexander Shukaev < cl...@alexander.shukaev.name> wrote: On 12/14/2015 10:03 PM, Alexander Shukaev wrote: On 12/11/2015 04:40 PM, Daniel Jasper wrot

Re: [PATCH]: git-clang-format

2016-02-08 Thread Manuel Klimek via cfe-commits
I believe you forgot to add cfe-commits as subscriber on the patch. On Sun, Feb 7, 2016 at 12:51 PM Alexander Shukaev < cl...@alexander.shukaev.name> wrote: > On 12/14/2015 10:03 PM, Alexander Shukaev wrote: > > On 12/11/2015 04:40 PM, Daniel Jasper wrote: > >> Please submit patches to clang-form

Re: [PATCH]: git-clang-format

2016-02-07 Thread Alexander Shukaev via cfe-commits
On 12/14/2015 10:03 PM, Alexander Shukaev wrote: On 12/11/2015 04:40 PM, Daniel Jasper wrote: Please submit patches to clang-format to reviews.llvm.org. Also, any change no matter how easy it is to deduce from the code itself deserves a proper change description :-). Bullet points are fine. Th

Re: [PATCH]: git-clang-format

2015-12-14 Thread Alexander Shukaev via cfe-commits
On 12/11/2015 04:40 PM, Daniel Jasper wrote: Please submit patches to clang-format to reviews.llvm.org. Also, any change no matter how easy it is to deduce from the code itself deserves a proper change description :-). Bullet points are fine. Thanks for the quick reply. I've submitted the patc

Re: [PATCH]: git-clang-format

2015-12-11 Thread Daniel Jasper via cfe-commits
Please submit patches to clang-format to reviews.llvm.org. Also, any change no matter how easy it is to deduce from the code itself deserves a proper change description :-). Bullet points are fine. On Fri, Dec 11, 2015 at 4:26 PM, Manuel Klimek wrote: > +djasper > > On Fri, Dec 11, 2015 at 3:40

Re: [PATCH]: git-clang-format

2015-12-11 Thread Manuel Klimek via cfe-commits
+djasper On Fri, Dec 11, 2015 at 3:40 PM Alexander Shukaev via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Hello everyone, > > Please, consider applying the attached patch or (at your option) a > refined version of it upstream. I'd be very excited to see it make into > the upcoming 3.8 re

[PATCH]: git-clang-format

2015-12-11 Thread Alexander Shukaev via cfe-commits
Hello everyone, Please, consider applying the attached patch or (at your option) a refined version of it upstream. I'd be very excited to see it make into the upcoming 3.8 release. The patch looks self-explanatory but in case any questions should arise, feel free to ask. I can provide both