Commit Graph

11 Commits

Author SHA1 Message Date
NathanLBCooper 0090226296 Combine CommitSpecificCheckinOptionsFactory and ShelveSpecificCheckinOptionsFactory into CheckinOptionsFactory. 2016-02-07 11:40:22 +00:00
Pat Thoyts 1dd26b76ea Allow the work-item association regex to be overridden by user config.
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>
2013-12-17 10:03:12 +00:00
Philippe Miossec 771f1e06f9 Reading author file in one place only 2013-11-19 14:34:50 +01:00
Philippe Miossec 7b175e8bfe cleaning/refactoring tests on checkin options (nothing scary) 2013-11-16 21:26:22 +01:00
Philippe Miossec b7d45fd4e9 Associate tfs workitems with pattern #Workitem_id ( github style )
If Microsoft is doing it with TFS2013 and Git, why can't we do it!?!
2013-11-16 21:26:19 +01:00
Sean M. Collins 16697d9620 Failing unit test 2013-11-01 11:23:48 +08:00
Philippe Miossec 770656f44e Use saved author file for rcheckin commits 2013-05-22 17:01:55 +02:00
togner 1e0a1a189d Minor fix to association of multiple workitems.
Action (resolve/associate) was parsed correctly only if it wasn't surrounded by any additional characters (space, cr, lf).
2012-11-09 19:45:18 -05:00
Kim Gybels fa27dd88e5 Unit test for getting reviewers from message 2012-11-08 18:10:18 +01:00
Kim Gybels 3e9fb8b6b2 Unit test for getting code reviewer from message 2012-11-06 22:52:50 +01:00
David Alpert 705d4d9f5b refactoring the generic caretaker into an explicitly passed and customized clone of the checkinoptions. 2012-09-10 09:38:18 -05:00