An Evil Trend RSS

part of a larger internet presence.

Archive

Jan
14th
Wed
permalink
Dec
5th
Fri
permalink

Getting Git to Play Nice with Windows and Cygwin

I converted a CVS repository over to Git using git-cvsimport, but the resulting repository used LF line endings which didn’t play nice with Visual Studio. Thankfully Git makes the solution easy:

% git config core.autocrlf true

This will make Git automatically convert LF endings to CRLF on checkout and vice versa. Now all you need to do is re-checkout the repository. There’s probably a cleaner way, but I just checked out a different branch then checked out master again:

% git checkout <branch>
% git checkout master

Presto!

Nov
4th
Tue
permalink
Oct
30th
Thu
permalink
Oct
27th
Mon
permalink

Highlight the current line in Vim:

:set cursorline
Oct
9th
Thu
permalink
permalink

Daring Fireball Linked List: Google’s Open Source Patches to Wine:

The big win is saying “screw you” to KDE and Gnome and all those crap Linux interfaces and APIs. Start over with something new, cohesive, better, and, most of all, which is not, conceptually, a watered down clone of Windows.

There is something deeply and fundamentally wrong with this statement.

permalink
Oct
7th
Tue
permalink

I don’t know about you, but every time TortoiseCVS has an error I almost have a heart attack from the sound effect it makes. Do your nerves a favor and disable it in Control Panel → Sounds and Audio Devices → Sounds.

Oct
4th
Sat
permalink