Commit Graph

1317 Commits

Author SHA1 Message Date
Matt Burke fdbfa6ceaf Pass a Tree instead of a sha in the LogEntry. 2014-01-17 18:03:56 -05:00
Matt Burke 72480e7154 Add an assertion on commit message.
This is what's likely to change while I'm working on this branch. This
is going to be easier to debug than a commit sha that changes.
2014-01-17 18:01:28 -05:00
Matt Burke 44e195e5c8 🔥 more obsolete code 2014-01-17 16:53:26 -05:00
Matt Burke f20c7d0774 🔥 temporary index stuff
This dropped the time to run unit tests on my machine from ~8.3s to ~6.6s!
2014-01-17 16:53:13 -05:00
Matt Burke 1f5afb0e81 🔥 HashAndInsertObject 2014-01-17 16:53:05 -05:00
Matt Burke f6218105a2 🔥 GitIndexInfo 2014-01-17 16:52:48 -05:00
Matt Burke f8dd3586fe Split IGitTreeBuilder.
IGitTreeModifier: TfsChangeset only needs the Add and Remove methods. So
those methods are part of IGitTreeModifier.

IGitTreeBuilder: GitTfsRemote needs to pass a IGitTreeModifier to
ITfsChangeset, and call GetTree() too.
2014-01-17 15:34:04 -05:00
Matt Burke 71da5daed2 Use LibGit2Sharp.Mode in place of strings. 2014-01-17 15:33:03 -05:00
Matt Burke f0c34b4521 Merge remote-tracking branch 'origin/master' into no-index
Conflicts:
	GitTfs/Core/TfsChangeset.cs
2014-01-17 15:15:12 -05:00
Matt Burke 3fee2719bb one more. 2014-01-15 18:26:51 -05:00
Matt Burke e72db3b01c Add merged branches to the release notes. 2014-01-15 18:25:13 -05:00
Matt Burke 26145704e1 Merge pull request #518 from KindDragon/clone-performance
Clone performance slightly improved.
2014-01-15 17:35:09 -05:00
Matt Burke aea1413e1d Merge remote-tracking branch 'origin/master' into p518
Conflicts:
	GitTfs/Core/TfsChangeset.cs

Other merge fixes:
	GitTfs/Core/GitObject.cs
	GitTfs/Util/ChangeSieve.cs
	GitTfsTest/Core/ChangeSieveTest.cs
2014-01-15 17:32:41 -05:00
Matt Burke ec4753a61d Merge pull request #520 from kgybels/custom_checkin_notes
Command line support for custom checkin notes
2014-01-15 14:07:28 -08:00
Matt Burke 32cff0cffc Merge pull request #521 from kgybels/fix_warnings
Fix simple compiler warnings
2014-01-15 16:49:18 -05:00
Matt Burke 4ca946daf4 💄
* Expand an abbreviation
* Explain why we have a method that just calls its base method.
2014-01-15 16:46:31 -05:00
Matt Burke 116c4b9735 Merge pull request #519 from spraints/ignorance-is-bliss
Don't fetch files that we're going to ignore.
2014-01-15 09:11:27 -08:00
Matt Burke da070ec887 Concise AND expressive! 2014-01-15 12:08:41 -05:00
Matt Burke f6784edc2a Preserve Mode with edits handled by ChangeSieve. 2014-01-15 12:07:53 -05:00
Matt Burke 84d0a1e3c8 Rename AndAnd to Try. 2014-01-15 12:04:38 -05:00
Matt Burke 2775e1f07c Rename ChangeSieve's public methods. 2014-01-15 10:14:38 -05:00
Matt Burke b2c50b08d6 Remove obsolete code. 2014-01-15 10:13:27 -05:00
Matt Burke 92d064b947 Extract PathResolver. 2014-01-15 10:05:42 -05:00
Matt Burke 6ffd4e28e4 Inline method. 2014-01-15 09:21:08 -05:00
Matt Burke 32a2320dc4 HasChanges() is not useful.
It was used to indicate that ChangesToFetch() was
empty. However, ChangesToFetch() might now be empty
and ChangeToApply2() could still have entries.
2014-01-15 09:17:59 -05:00
Matt Burke 753b4e4421 Remove old ChangesToApply(). 2014-01-15 09:14:32 -05:00
Matt Burke 026f5e94a2 Use ChangesToApply2() instead of ChangesToApply(). 2014-01-15 09:13:46 -05:00
Matt Burke ede1533f0f ChangeSieve tests pass. 2014-01-15 09:10:21 -05:00
Matt Burke 7369bdb7c1 Fixed up ChangeSieveTests. Rewrote ChangesToApply2(). 2014-01-15 09:01:53 -05:00
Matt Burke 26dbfaaa2d Progress on the new ChangeSieve.ChangesToApply(). 2014-01-15 08:30:04 -05:00
Matt Burke dc5799d962 Tests for the new interface. 2014-01-14 18:07:35 -05:00
Philippe Miossec ec090eda8b Merge pull request #527 from pmiossec/cleanup_directory_exception
cleanup : prevent exception because directory doesn't exist
2014-01-14 13:59:30 -08:00
Philippe Miossec b8197b0f68 cleanup : prevent exception because directory doesn't exist
(when nothing was fetch for this branch)
2014-01-14 22:46:40 +01:00
Matt Burke 84aa95e5e0 Capture the current handling of renames and ignore rules. 2014-01-14 15:55:50 -05:00
Philippe Miossec f1e22ddb2a Update README.md for subtree command 2014-01-14 21:44:39 +01:00
Matt Burke 345c726b92 Test change sorting. 2014-01-14 15:39:09 -05:00
Philippe Miossec 3556a29395 Merge pull request #487 from pmiossec/subtree_doc
`subtree`command doc
2014-01-14 12:37:50 -08:00
Philippe Miossec e24c14028b formatting... 2014-01-14 21:34:54 +01:00
Matt Burke 8e57750644 Start testing ChangeSieve. 2014-01-10 16:29:48 -05:00
Kim Gybels 9ad8b2a03d Use TreeDefinition instead of index to build tree 2014-01-10 15:10:15 +01:00
Sean M. Collins 1900236f68 Merge pull request #513 from patthoyts/pt/work-item-match
Allow work-item association matching to be overridden by user config variable.

Closes #512
2014-01-10 04:42:57 -08:00
Sean M. Collins 7ab65fcbc5 Merge pull request #523 from brantb/patch-1
Fix a couple of markdown links in documentation
2014-01-09 12:17:50 -08:00
Brant Bobby b2e05c5481 Fix a couple of markdown links in documentation
Backticks surrounding the entire text of a link cause it to be rendered `[like this](http://)` instead of [`like this`](http://).
2014-01-09 14:00:07 -06:00
Matt Burke fa964de19d Extract ChangeSieve from TfsChangeset. 2014-01-09 13:17:32 -05:00
Matt Burke b8dca21083 Also rename a file from not ignored to not ignored. 2014-01-08 18:06:16 -05:00
Matt Burke 3283cfc3e9 Add a test that shows a problem with fetching + ignore + rename. 2014-01-08 18:02:13 -05:00
Matt Burke 787a3dd2db 🆒 with commits that have only ignored content. 2014-01-08 17:14:18 -05:00
Matt Burke d8f05cd463 Add a test for ignore-regex. 2014-01-08 16:49:10 -05:00
Kim Gybels bcd282c399 Fix simple compiler warnings 2014-01-03 17:09:28 +01:00
Kim Gybels 6197a81c12 Command line support for custom checkin notes 2014-01-03 16:41:40 +01:00