Re: git vs. $OpenBSD$

2010-04-25 Thread Marc Espie
On Sun, Apr 25, 2010 at 03:01:31PM +0200, Marc Espie wrote: I think I finally figured out how to work with git for small subtrees, and not get annoyed with the $OpenBSD$ keyword expansion... - define a filter in your git attributes, that's either $GITDIR/info/attributes or

Re: git vs. $OpenBSD$

2010-04-25 Thread Marc Espie
On Sun, Apr 25, 2010 at 03:01:31PM +0200, Marc Espie wrote: - create a script in your PATH that cleans up things, in my case, ~/bin/openbsd-zap #! /usr/bin/perl -p # what ? you expected another scripting language s/\$OpenBSD\:.*?\$/\$OpenBSD\$/g; s/[ \t]+$//; # jmc's gonna love that PS2: