Git is absolutely fabilous, of course

After using git for like 5 years – and shall I say I know most of the tricks in the book and outside of the book 😉 – I still find some neat things in it, that pleases me immensely in spite of being simple.

I am doing this Gradle implementation of Apache Bigtop build system and thought that would be about time to split one Gradle file in two: separation of concerns and all that stuff. So, naturally I have fired-up IntelliJ IDEA, did some splitting, and copying, and other things. Got all my functionality working to the same extend as it were. And now it is time to commit: I have original build.gradle and new packages.gradle files. So,

% git commit -a -m ‘Separating build logic into its own module’

[BIGTOP-1201 f319b55] Separating build logic into its own module
2 files changed, 53 insertions(+), 429 deletions(-)
rewrite build.gradle (90%)
rename build.gradle => packages.gradle (90%)

Seriously, how smart and cool is that?