
10 Aug
2007
10 Aug
'07
12:19 p.m.
John Maddock wrote:
Martin Bonner wrote:
Why not in the commit hook?
Because "a few are paired disable/enable headers". That seems a reasonable implementation approach to me, and a commit hook would prevent it.
True, but we can always have a back door for the cases that need it:
// [no_check_push_pop]
could disable the check?
Unless there was a reference to the "other file" that contained the other operation. Then you could check that it matched across files, even in the commit-hook. Cheers, /Marcus