Wednesday, May 12, 2010

Git Tips 2: Getting a list of all files added and removed

When I send an incremental patch or release to a customer I usually include a list of the files that were added and removed. That makes it a lot easier for the people on the other end to submit the changes into source control.

The following command will list all the files that were added, moved or removed between two commits into a text file.

git diff -–summary commit1 commit2 > changes.txt

Commit1 and commit2 can be anything like a branch name, a commit id or a tag.

See also: Git tips - zipping all changed files

Installing Sitefinity on 64-bit Windows 7

I’ve been evaluating a bunch of ASP.NET based CMSes over the last two weeks. One of the more interesting commercial ones is Sitefinity from Telerik. I like it enough to actually recommended it to a customer who asked me to figure out what CMS to use.

Installation of Sitefinity 3.7 is anything but simple though. There’s a comprehensive installation guide but that’s missing a crucial bit of info for installation on 64-bit Windows 7. This caused the project manager site to show nothing but 404.17 errors.

The solution is to enable 32-bit applications on the AppPool advanced settings. See step 2 of the installation guide and the screenshot below.

Enable 32-bits applications in IIS7