Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
$ git jcheck -h

Examples

Run git-jcheck on the HEAD commit:

Code Block
languagebash
$ git jcheck
usage: git jcheck [options]
        -r, --rev REV               Check the specified revision or range (default: HEAD)
            --census FILE           Use the specified census (default: https://openjdk.java.net/census.xml)
            --ignore CHECKS         Ignore errors from checks with the given name
            --setup-pre-push-hook   Set up a pre-push hook that runs jcheck on commits to be pushed
        -m, --mercurial             Deprecated: force use of mercurial
            --verbose               Turn on verbose output
            --debug                 Turn on debugging output
            --lax                   Check comments, tags and whitespace laxly
        -s, --strict                Check everything
        -v, --version               Print the version of this tool
        -h, --help                  Show this help text
			--conf-staged			Use staged .jcheck/conf
			--conf-working-tree		Use .jcheck/conf in current working tree
			--staged				Check staged changes as if they were committed
			--working-tree			Check changes in working tree as if they were committed                          

Examples

Run git-jcheck on the HEAD commit:

Code Block
languagebash
$ git jcheck


Run git-jcheck on all commits between master and HEAD:

...