Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Blocking Git commit when special tag found in code(Preventing accidental commit of code meant for temporary local debugging only)
Blocking Git commit when special tag found in code [message #1750856] Fri, 30 December 2016 08:33
Joshua Fox is currently offline Joshua FoxFriend
Messages: 4
Registered: December 2016
Junior Member
Sometimes I insert logging or instrumentation into the code -- sometimes even artificially throwing exceptions to make sure my code can handle them. This should not go to the shared repository.

Can Eclipse warn or prevent Git commits if there are special tags in the code?

These would not necessarily be TODO tags, but rather something like DEVONLY.

Intellij supports this.

How can this be done in Eclipse?
Previous Topic:Latest egit update zapped the perspective
Next Topic:Stash apply result in conflicts even there are no conflicts different from command line
Goto Forum:
  


Current Time: Fri Nov 24 09:39:36 GMT 2017

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

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