[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: KWin GLES, cleanup and coding style change
From:       Dario Freddi <drf54321 () gmail ! com>
Date:       2011-01-31 13:43:19
Message-ID: AANLkTi=ezzY5V7dxcnr3w3RsmWa0YioZKpBb6Vc6DVbE () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


2011/1/30 Martin Gr=E4=DFlin <kde@martin-graesslin.com>

> There is of course the option to change it manually. I would not like to =
do
> it, but if there is no automatic way I will waste tomorrow evening ;-)
>

Don't know about astyle, but I'd do something like:

 - find . -exec sed -i "s/if(/if (/g" {} \; # Change all occurrences
 - git add -p # Interactive git add, so that you can exclude from the commi=
t
false positives which have been corrected
 - git commit # Well
 - git reset --hard # To undo changes to false positives removed from the
previous commit


>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
>

[Attachment #5 (text/html)]

<br><br><div class="gmail_quote">2011/1/30 Martin Gräßlin <span dir="ltr">&lt;<a \
href="mailto:kde@martin-graesslin.com">kde@martin-graesslin.com</a>&gt;</span><br><blockquote \
class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, \
204); padding-left: 1ex;"> There is of course the option to change it manually. I would not \
like to do<br> it, but if there is no automatic way I will waste tomorrow evening \
;-)<br></blockquote><div><br>Don&#39;t know about astyle, but I&#39;d do something \
                like:<br><br> - find . -exec sed -i &quot;s/if(/if (/g&quot; {} \; # Change all \
                occurrences<br>
 - git add -p # Interactive git add, so that you can exclude from the commit false positives \
which have been corrected<br> - git commit # Well<br> - git reset --hard # To undo changes to \
false positives removed from the previous commit<br>  </div><blockquote class="gmail_quote" \
style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: \
1ex;"> <br>_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br> \
<br></blockquote></div><br>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic