Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » How to Detect Checkout(Is there are a way to detect when a checkout has occurred?)
How to Detect Checkout [message #1733103] Tue, 24 May 2016 12:08 Go to next message
Brian Cort is currently offline Brian CortFriend
Messages: 4
Registered: May 2016
Junior Member
How can I detect when a checkout has occurred? None of the repository listeners seem to fire.

The use case is that the user does a checkout on the command line or in another tool and I need to detect this change within JGit.
Re: How to Detect Checkout [message #1733289 is a reply to message #1733103] Thu, 26 May 2016 08:36 Go to previous message
Brian Cort is currently offline Brian CortFriend
Messages: 4
Registered: May 2016
Junior Member
I accomplished this by watching the .git/HEAD and .git/refs/heads files/directories.
Previous Topic:Determining which authentication method
Next Topic:Synchronize view shows non-existent white-space and other outgoing changes
Goto Forum:
  


Current Time: Sun Aug 18 23:39:24 GMT 2019

Powered by FUDForum. Page generated in 0.02073 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top