[ImageJ-devel] [fiji-devel] imglib coding style
Johannes Schindelin
Johannes.Schindelin at gmx.de
Thu Apr 15 13:47:35 CDT 2010
Hi,
On Thu, 15 Apr 2010, Curtis Rueden wrote:
> > My misunderstanding came from the name of the hook: a post-commit hook
> > can only run locally, not on the server. And I'd actually make that a
> > pre-commit hook.
>
> 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.
>
> 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.
Well, the problem there is that they might not fast-forward, and besides,
I would like to be able to do it manually, just to make sure. That's why I
was doubtful of Eclipse, because with Git, the hook _must_ run locally.
Ciao,
Dscho
More information about the ImageJ-devel
mailing list