Hi Johannes,<br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">My misunderstanding came from the name of the hook: a post-commit
hook can<br>
only run locally, not on the server. And I'd actually make that a<br>
pre-commit hook.<br>
<font color="#888888"></font></blockquote><div><br></div></div>Oops, my experience comes mainly from SVN, where a "post-commit hook" runs on the server after someone commits. But regardless, I suppose a script that cleans up the source code formatting would need to happen pre-commit rather than afterward.<br>
<br>With git, I am not sure how that would work. Perhaps I could configure the continuous integration server to do nightly source code formatting or some such? Might result in various "spammy" commits, though.<br>
<br>-Curtis<br><br><div class="gmail_quote">On Wed, Apr 14, 2010 at 6:26 PM, Johannes Schindelin <span dir="ltr"><<a href="mailto:Johannes.Schindelin@gmx.de">Johannes.Schindelin@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">Hi,<br>
<br>
On Wed, 14 Apr 2010, Curtis Rueden wrote:<br>
<br>
</div><div class="im">> I completely agree that we should not require Eclipse as an IDE for Fiji<br>
> or ImageJ developers. No way, no how. :-)<br>
><br>
> Rather, my idea was to setup Eclipse on the server for use as a<br>
> post-commit hook.<br>
<br>
</div>My misunderstanding came from the name of the hook: a post-commit hook can<br>
only run locally, not on the server. And I'd actually make that a<br>
pre-commit hook.<br>
<br>
Ciao,<br>
<font color="#888888">Johannes<br>
<br>
</font></blockquote></div><br>