Russell Belfer
e9ca852e4d
Fix warnings and merge issues on Win64
2012-08-23 09:20:17 -07:00
Ben Straub
b2be351aad
Win32: test core.autocrlf
2012-08-21 10:55:39 -07:00
Ben Straub
c35881420d
Tests: close file handles before asserting
...
Avoids getting ERROR_SHARING_VIOLATION on win32
and killing the entire clar run.
2012-08-20 20:24:20 -07:00
Ben Straub
eb87800ab6
Checkout: fix memory leak in tests.
2012-08-06 09:34:17 -07:00
Ben Straub
5f4d2f9f65
Checkout: fix problem with detached HEAD.
2012-07-31 19:49:19 -07:00
Ben Straub
78cd966aaf
Checkout: fix crlf tests under win32.
2012-07-31 16:24:04 -07:00
Ben Straub
e4bac3c469
Checkout: crlf filter.
2012-07-31 15:38:12 -07:00
Ben Straub
8e4aae1ae5
Checkout: handle file modes properly.
...
Global file mode override now works properly with
the file mode stored in the tree node.
2012-07-31 10:46:38 -07:00
Ben Straub
3f584b5027
Try to fix Travis.
2012-07-31 09:01:11 -07:00
Ben Straub
e0681f6d07
Checkout: disable file-mode test on win32.
2012-07-27 20:39:43 -07:00
Ben Straub
b31667fb69
Checkout: add head- and ref-centric checkouts.
...
Renamed git_checkout_index to what it really was,
and removed duplicate code from clone.c. Added
git_checkout_ref, which updates HEAD and hands off
to git_checkout_head.
Added tests for the options the caller can pass to
git_checkout_*.
2012-07-27 20:31:05 -07:00
Ben Straub
b401bace1b
Restructure for better checkout options
...
* Removed the #define for defaults
* Promoted progress structure to top-level API call
argument
2012-07-26 13:12:21 -07:00
Ben Straub
ef9905c990
checkout: introduce git_checkout_opts
...
Refactor checkout into several more-sensible
entry points, which consolidates common options
into a single structure that may be passed around.
2012-07-26 12:58:44 -07:00
Ben Straub
09a03995e0
Checkout: make core.symlinks test work on OSX.
2012-07-17 20:20:34 -07:00
Ben Straub
8651c10f1e
Checkout: obey core.symlinks.
2012-07-17 19:57:37 -07:00
Ben Straub
1d68fcd04b
Checkout: handle symlinks.
...
Includes unfinished win32 implementation.
2012-07-16 16:22:41 -07:00
Ben Straub
71bc89b9b6
Disable test that aren't quite ready yet.
2012-07-13 20:24:40 -07:00
Ben Straub
280c7bbf13
Add checkout test suite.
...
Removed 'bare' option from test repository to
allow checkout tests.
2012-07-13 15:52:27 -07:00