namecheck

command
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2026 License: Apache-2.0 Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command namecheck scans text for client terms held outside the repository. It never prints a term, the matched text, or the line.

Usage:

namecheck [--staged | --msg FILE | --range REVS | --names | --history | --tag] [PATH...]

--range takes a list of revisions separated by white space, as git rev-list reads them, for example "SHA ^REMOTE_REF". --names scans each PATH argument as a name only, without reading a file, for branch and tag names.

--tag takes two arguments, a ref name and an object name. When the object is an annotated tag, or a chain of them, it scans each tag's tagger and message. An object of any other kind is left alone.

The hidden flag --C DIR runs the git-backed modes in DIR instead of the process's working directory. Tests use it so that parallel tests can each scan their own repository without changing the shared working directory.

A finding never quotes a term. Any path component that holds a match is printed as ***.

Exit codes are 0 when clean, 1 on CLIENT_NAME_FOUND, and 2 when the term list is unavailable (CLIENT_TERMS_UNAVAILABLE) or the usage is wrong.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL