This is intended to resolve issue #512 by allowing the user git config to
redefine the regular expression used to match work-item id's in the commit
message. This is useful in those cases where a project may be using an
alternative system to track bug id's.
The user may define the git config variable git-tfs.work-item-regex to
use an alternate regular expression. If this is undefined or en empty
string then the built-in default is used (matching # followed by digits).
If the expression fails to compile then no matching will be attempted.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
- Added overloaded BuildCommitSpecificCheckinOptions that takes author parameter
- Added ProcessAuthors function that tries to map the git author to a tfs user id.
The following directives are supported from a commit message for
specifying checkin notes:
git-tfs-code-reviewer: John Smith
git-tfs-security-reviewer: John Smith
git-tfs-performance-reviewer: John Smith
New command line switches for rcheckin:
-c, --code-reviewer=VALUE Set code reviewer
e.g. -c "John Smith"
-s, --security-reviewer=VALUE
Set security reviewer
e.g. -s "John Smith"
-p, --performance-reviewer=VALUE
Set performance reviewer
e.g. -p "John Smith"