Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] listener for porcelain/plumbing commands?

Why do you want to be notified after every insert? Is there something you are trying to achieve that could be done in a different way?

Alex

Sent from my iPhone 5

On 24 Jul 2013, at 07:59, Christian Trutz <christian.trutz@xxxxxxxxx> wrote:

> Hello jgit developers,
> 
> I want to use jgit in my actual project and want to be informed after every
> 
> ObjectInserter#insert(...) aka
> git hash-object ...
> 
> call.
> 
> 1) I don't want to use a hook, because this is to expensive (starting a new process)
> 2) I see the possibility to aspect ObjectInserter (e.g. with AspectJ), but I don't want to introduce aspects only for this
> 
> Is any other possibility in Jgit to be informed (something like a listener / hook) after porcelain/plumbing commands? 
> 
> Regards
> Christian
> _______________________________________________
> jgit-dev mailing list
> jgit-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jgit-dev


Back to the top