Git
Had a busy two weeks reviving the Cpu-Hotplug effort. Two versions have already been posted and the just finished porting the third one against the latest kernel version. And that’s when I finally got around to use Git.
Git is a source code management software project started by Linus Torvalds and now maintained by Junio Hamano. There are probably a million howtos out there,on how to use Git, but I followed the one which I thought was easier for me to follow, given the nature of my job.
I cloned the git repository and created my own branches, ported the cpu-hotplug patches. For a person who had been using quilt all this while to create and maintain patches, git is very useful. The best part is that you could actually see the whole development process since it keeps track of each commit. So for example, if I wanted to know how a particular file, say kernel/cpu.c has changed over years, I just type
git whatchanged kernel/cpu.c
and you could see every single commit that went in since version 2.6.12 something. Pretty Amazing!
Next time I am wondering why a particular ‘if’ clause exists in the code, using git, I can find out, who added it, and what was the changelog look like when it was added.
Other than that, you could also checkout a particular kernel version say 2.6.18. So instead of maintaining a whole bunch of compressed kernel source files, all I need now is a git repo and maintain different branches for different development projects that I am working on.
The other cool utility was StGit. It’s a quilt type of a utility that allows you to create new patches, push and pop. So developers already familiar with quilt can use that with atmost ease.
Hope to discover more useful features with continued usage
And here’s to a Great Weekend ahead!!
Bad Experience @ KFC
Opening Mood: Gloomy weather outside.
Opening Song: Kitni Baatein - Lakshya
Today was one of the “work from home” days since there was some kind of press meet at office. It was to take place on the floor where our offices were, and hence we were told to work from home or work from some other office. Clearly , we aren’t the types that they want to show to the press :P.
So afternoon, I decided to go to KFC for lunch. Had been a long time since I had anything unhealthy.
But this was an extremely bad experience. I ordered a Chicken Snacker. It tasted as if the yellow sauce that they use had nail-polish remover in it. Of course I had bad cold, so I cannot be sure of the smell of it, but it was definitely not the usual snacker. Luckily for me, Dhaval too felt the same and complained about it. They gave him a fresh one, but I had already lost my appetite by then.
I should avoid junk food!
Oh, well, I should probably learn cooking instead of ranting about it.
Closing Song: Kaisi Tanhai - Lucky Ali
Closing Mood: Hungry. Dinner time!