https://bugzilla.wikimedia.org/show_bug.cgi?id=35600

--- Comment #1 from Chad H. <[email protected]> 2012-04-12 21:41:01 UTC 
---
Right now, there's no update hook in gerrit yet[00], so we can't block them
like we did with pre-commit in svn. There's a huge performance concern with it,
so even if[01] is merged, I don't know if we can use it.

There's two workarounds we can do here:
1) Make patchset-created complain about whitespace and -2 a commit if it's bad
(there's examples for this in gerrit.git/contrib)
2) Tweak the downloaded pre-commit hook to strip trailing whitespace (there's
dozens of examples of how we could adjust pre-commit here)

[00] http://code.google.com/p/gerrit/issues/detail?id=925
[01] https://gerrit-review.googlesource.com/#/c/31350/

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to