Software Tools

Do one thing well, and work together.

Archive for May 2010

Age: absolutely minimal version control

leave a comment »

The timing of this post was inspired by a rant against git by Mike Taylor.

Here’s a version-control system in two rc (Plan 9 shell) scripts. Age copies files (without certain derived files such as objects and archives) to a backup directory under the current directory, and stores in that directory a tgz for distribution. Aged gives you a contextual difference of files changed since your last save. (There’s also little scripts called stardate and monnum that print YYYYMMDD.)

It’s got about none of git’s features, and is woefully inefficient, but it does one thing really well: have a backup when you make a bad change, if you use it regularly. I’ve used this for a few weeks, and it’s Good Enough.


Written by catena

10 May 2010 at 1651

Posted in Uncategorized