Skip to content

Commit

Permalink
Implemented #117: Make fast disabling synchronization with an issue t…
Browse files Browse the repository at this point in the history
…racker

 - Added the config command.
  • Loading branch information
andkirby committed Sep 2, 2016
1 parent e94347a commit 97d718b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/config/validators/CommitMsg.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0"?>
<!--
/**
* @license https://raw.githubusercontent.com/andkirby/commithook/master/LICENSE.md
*/
-->
<config>
<console>
<message>
<args>
<tracker-sync>
<xpath type="bool">hooks/commit-msg/message/tracker_sync</xpath>
<description>Status of synchronization with external issue tracker. Short commit message won't available if it's OFF.</description>
<scope>
<default>project-self</default>
</scope>
</tracker-sync>
</args>
</message>
</console>
<hooks>
<commit-msg>
<message>
<tracker_sync>1</tracker_sync>
</message>
</commit-msg>
</hooks>
</config>

0 comments on commit 97d718b

Please sign in to comment.