On Fri, 02 Sep 2011 12:41:31 +0300, Walter Bright <[email protected]>
wrote:
Eh, I forgot to push that one. Fixed.
By the way, you can set up git to refuse to commit lines containing
specific keywords. That way, you can just add a //NOCOMMIT comment to any
debugging code and not worry about accidentally forgetting to remove it
later.
Here's the pre-commit hook for one of my projects (a tweaked version of a
public example), which also does some whitespace checks:
https://gist.github.com/1189548
--
Your local git fanboy,
Vladimir mailto:[email protected]
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta