Skip to content

Commit

Permalink
Implemented #116: Rename "commithook files:allow-default" to "commith…
Browse files Browse the repository at this point in the history
…ook files allow-default"

 - Updated docs.
  • Loading branch information
andkirby committed Aug 30, 2016
1 parent c7ecca6 commit f0b5288
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/protect-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ This command should be used to allow committing within protected path.
### Allowed be default
There is an option which allows to commit any file.

`commithook files:allow-default`
`commithook files allow-default`

In this case "allowed" list will be ended rule and will have highest priority.

You switch it to OFF:

`commithook files:allow-default 0`
`commithook files allow-default 0`

In this case "protected" list will be ended rule and will have highest priority.
It will pass a commit only if "allowed" list covers a path.
Expand Down
2 changes: 1 addition & 1 deletion src/config/validators/FileFilter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<args>
<allow-default>
<xpath type="bool">validators/FileFilter/allowed_by_default</xpath>
<description>This command can define configuration for allowing to commit files by default.</description>
<description>Set allowing to commit files by default.</description>
<scope>
<default>project</default>
</scope>
Expand Down

0 comments on commit f0b5288

Please sign in to comment.