]> git.proxmox.com Git - libgit2.git/log
libgit2.git
11 years agoIntroduce status/diff TYPECHANGE flags
Russell Belfer [Fri, 28 Sep 2012 20:40:02 +0000 (13:40 -0700)]
Introduce status/diff TYPECHANGE flags

When I wrote the diff code, I based it on core git's diff output
which tends to split a type change into an add and a delete.  But
core git's status has the notion of a T (typechange) flag for a
file.  This introduces that into our status APIs and modifies the
diff code so it can be forced to not split type changes.

11 years agoImprove error propogation in checkout
Russell Belfer [Fri, 28 Sep 2012 20:39:34 +0000 (13:39 -0700)]
Improve error propogation in checkout

11 years agoMerge pull request #967 from arrbee/diff-submodule-tests-and-fixes
Vicent Martí [Tue, 9 Oct 2012 18:45:50 +0000 (11:45 -0700)]
Merge pull request #967 from arrbee/diff-submodule-tests-and-fixes

Diff submodule tests and fixes

11 years agoFix compiler warnings
Michael Schubert [Mon, 8 Oct 2012 22:51:43 +0000 (00:51 +0200)]
Fix compiler warnings

* tests-clar/status: remove an unused variable
* clone: fix -Wmaybe-uninitialized warning

11 years agoMerge pull request #949 from nulltoken/topic/deploy_repository_set_head
Ben Straub [Mon, 8 Oct 2012 22:25:44 +0000 (15:25 -0700)]
Merge pull request #949 from nulltoken/topic/deploy_repository_set_head

Deploy git_repository_set_head()

11 years agoAdd test for diffs with submodules and bug fixes
Russell Belfer [Mon, 8 Oct 2012 22:19:00 +0000 (15:19 -0700)]
Add test for diffs with submodules and bug fixes

The adds a test for the submodule diff capabilities and then
fixes a few bugs with how the output is generated.  It improves
the accuracy of OIDs in the diff delta object and makes the
submodule output more closely mirror the OIDs that will be used
by core git.

11 years agoExtend diff helpers for tests a little
Russell Belfer [Mon, 8 Oct 2012 22:18:30 +0000 (15:18 -0700)]
Extend diff helpers for tests a little

11 years agoFix a few diff bugs with directory content
Russell Belfer [Mon, 8 Oct 2012 22:14:12 +0000 (15:14 -0700)]
Fix a few diff bugs with directory content

There are a few cases where diff should leave directories in
the diff list if we want to match core git, such as when the
directory contains a .git dir.  That feature was lost when I
introduced some of the new submodule handling.

This restores that and then fixes a couple of related to diff
output that are triggered by having diffs with directories in
them.

Also, this adds a new flag that can be passed to diff if you
want diff output to actually include the file content of any
untracked files.

11 years agoMerge pull request #940 from scunz/diff_sm
Russell Belfer [Mon, 8 Oct 2012 22:21:47 +0000 (15:21 -0700)]
Merge pull request #940 from scunz/diff_sm

Diff: Show submodule diff

11 years agoMerge pull request #966 from pwkelley/icasefix
Russell Belfer [Mon, 8 Oct 2012 21:53:37 +0000 (14:53 -0700)]
Merge pull request #966 from pwkelley/icasefix

Fix a bug where ignorecase wasn't applied to ignores

11 years agoFix a bug where ignorecase wasn't applied to ignores
Philip Kelley [Mon, 8 Oct 2012 20:32:43 +0000 (16:32 -0400)]
Fix a bug where ignorecase wasn't applied to ignores

11 years agoclone: fix cloning of empty repository
nulltoken [Sun, 7 Oct 2012 10:50:18 +0000 (12:50 +0200)]
clone: fix cloning of empty repository

11 years agoclone: reorganize tests
nulltoken [Sun, 7 Oct 2012 10:04:07 +0000 (12:04 +0200)]
clone: reorganize tests

11 years agoclone: leverage refspec transform
nulltoken [Wed, 26 Sep 2012 17:22:21 +0000 (19:22 +0200)]
clone: leverage refspec transform

11 years agorefspec: introduce git_refspec_transform_l()
nulltoken [Wed, 26 Sep 2012 17:15:11 +0000 (19:15 +0200)]
refspec: introduce git_refspec_transform_l()

11 years agoclone: align type casing with convention
nulltoken [Wed, 26 Sep 2012 09:05:12 +0000 (11:05 +0200)]
clone: align type casing with convention

11 years agobranch: deploy git_branch_is_head()
nulltoken [Sat, 6 Oct 2012 10:20:13 +0000 (12:20 +0200)]
branch: deploy git_branch_is_head()

11 years agobranch: introduce git_branch_is_head()
nulltoken [Sat, 6 Oct 2012 08:41:53 +0000 (10:41 +0200)]
branch: introduce git_branch_is_head()

11 years agorefs: deploy git_repository_set_head() usage
nulltoken [Sat, 22 Sep 2012 10:51:34 +0000 (12:51 +0200)]
refs: deploy git_repository_set_head() usage

11 years agoclone: deploy git_repository_set_head() usage
nulltoken [Sat, 22 Sep 2012 10:50:18 +0000 (12:50 +0200)]
clone: deploy git_repository_set_head() usage

11 years agoreset: make reset rely on git_repository_head()
nulltoken [Sat, 22 Sep 2012 10:47:17 +0000 (12:47 +0200)]
reset: make reset rely on git_repository_head()

11 years agobranch: enhance branch moving test coverage
nulltoken [Sat, 22 Sep 2012 10:42:16 +0000 (12:42 +0200)]
branch: enhance branch moving test coverage

11 years agoremote: use constants for well-known names
nulltoken [Sun, 7 Oct 2012 19:00:46 +0000 (21:00 +0200)]
remote: use constants for well-known names

11 years agorefs: use constants for well-known names
nulltoken [Fri, 21 Sep 2012 08:28:20 +0000 (10:28 +0200)]
refs: use constants for well-known names

11 years agoremote: only keep a weak pointer in update_tips
Carlos Martín Nieto [Sun, 7 Oct 2012 09:19:19 +0000 (11:19 +0200)]
remote: only keep a weak pointer in update_tips

The reference is only needed inside the function. We mistakenly
increased the reference counter causing the ODB not to get freed and
leaking descriptors.

11 years agoprotocol: don't store flushes
Carlos Martín Nieto [Sun, 7 Oct 2012 08:20:23 +0000 (10:20 +0200)]
protocol: don't store flushes

Storing flushes in the refs vector doesn't let us recognize when the
remote is empty, as we'd always introduce at least one element into
it. These flushes aren't necessary, so we can simply ignore them.

11 years agoDiff: Do not try to calculate an oid for a GITLINK.
Sascha Cunz [Fri, 5 Oct 2012 11:44:18 +0000 (13:44 +0200)]
Diff: Do not try to calculate an oid for a GITLINK.

We don't have anything useful that we could do with that oid anyway (We
need to query the submodule for the HEAD commit instead).

Without this, the following code creates the error "Failed to read
descriptor: Is a directory" when run against the submod2 test-case:

    const char* oidstr = "873585b94bdeabccea991ea5e3ec1a277895b698";
    git_tree* tree = resolve_commit_oid_to_tree(g_repo, oidstr);
    git_diff_list* diff = NULL;
    cl_assert(tree);
    cl_git_pass(git_diff_workdir_to_tree(g_repo, NULL, tree, &diff));

11 years agoExtract submodule logic out of diff_output.c:get_workdir_content
Sascha Cunz [Fri, 5 Oct 2012 11:03:22 +0000 (13:03 +0200)]
Extract submodule logic out of diff_output.c:get_workdir_content

11 years agoDiff: teach get_workdir_content to show a submodule as text
Sascha Cunz [Tue, 18 Sep 2012 21:43:23 +0000 (23:43 +0200)]
Diff: teach get_workdir_content to show a submodule as text

1. teach diff.c:maybe_modified to query git_submodule_status for the
   modification state of a submodule. According to the
   git_submodule_status docs, it will filter for to-ignore states
   already.

2. teach diff_output.c:get_workdir_content to check the submodule status
   again and create a line like:

      Subproject commit <SHA-1>\n
   or
      Subproject comimt <SHA-1>-dirty\n

   like git.git does.

11 years agoDiff: teach get_blob_content to show a submodule as text
Sascha Cunz [Tue, 18 Sep 2012 20:35:09 +0000 (22:35 +0200)]
Diff: teach get_blob_content to show a submodule as text

diff_output.c:get_blob_content used to try to read the submodule commit
as a blob in the superproject's odb. Of course it cannot find it and
errors out with GIT_ENOTFOUND, implcitly terminating the whole diff
output.

This patch teaches it to create a text that describes the submodule
instead. The text looks like:

Subproject commit <SHA1>\n

which is what git.git does, too.

11 years agoFix minor whitespace issue
Sascha Cunz [Fri, 5 Oct 2012 11:02:35 +0000 (13:02 +0200)]
Fix minor whitespace issue

11 years agoclar: Proper shutdown order
Vicent Marti [Tue, 2 Oct 2012 18:23:54 +0000 (20:23 +0200)]
clar: Proper shutdown order

11 years agoMerge pull request #932 from ben/clone_pack_race
Russell Belfer [Tue, 2 Oct 2012 18:08:30 +0000 (11:08 -0700)]
Merge pull request #932 from ben/clone_pack_race

ODB: re-load packfiles on failed lookup

11 years agoMerge pull request #939 from pwkelley/ignorecase
Russell Belfer [Tue, 2 Oct 2012 17:45:40 +0000 (10:45 -0700)]
Merge pull request #939 from pwkelley/ignorecase

Support for the core.ignorecase flag

11 years agoMerge pull request #961 from arrbee/win64-cleanups
Vicent Martí [Mon, 1 Oct 2012 20:57:32 +0000 (13:57 -0700)]
Merge pull request #961 from arrbee/win64-cleanups

Win64 cleanups

11 years agoFix up more Win64 compile warnings
Russell Belfer [Mon, 1 Oct 2012 19:32:55 +0000 (12:32 -0700)]
Fix up more Win64 compile warnings

11 years agothreads: Assert that the global state is initialized
Vicent Marti [Mon, 1 Oct 2012 15:59:04 +0000 (17:59 +0200)]
threads: Assert that the global state is initialized

11 years agoremote: Fix mid-block declaration
Vicent Marti [Mon, 1 Oct 2012 15:33:05 +0000 (17:33 +0200)]
remote: Fix mid-block declaration

11 years agoMerge pull request #957 from carlosmn/include-tag
Vicent Martí [Mon, 1 Oct 2012 15:28:46 +0000 (08:28 -0700)]
Merge pull request #957 from carlosmn/include-tag

Include tag

11 years agoremote: support downloading all tags
Carlos Martín Nieto [Sun, 30 Sep 2012 08:56:06 +0000 (10:56 +0200)]
remote: support downloading all tags

Also honor remote.$name.tagopt = --tags.

11 years agoremote: use the refspec functions to parse, instead of rolling our own
Carlos Martín Nieto [Sat, 29 Sep 2012 20:50:33 +0000 (22:50 +0200)]
remote: use the refspec functions to parse, instead of rolling our own

The local function works for simple cases, but we shouldn't reinvent
the wheel just for us.

11 years agoremote: add accessors for the autotag setting
Carlos Martín Nieto [Thu, 27 Sep 2012 09:58:35 +0000 (11:58 +0200)]
remote: add accessors for the autotag setting

11 years agoremote: create tags if we have them
Carlos Martín Nieto [Sun, 16 Sep 2012 01:36:03 +0000 (03:36 +0200)]
remote: create tags if we have them

Together with include-tag, this make us behave more like git. After a
fetch, try to create any tags the remote told us about for which we
have objects locally.

11 years agofetch: use the include-tag capability
Carlos Martín Nieto [Sat, 15 Sep 2012 06:07:24 +0000 (08:07 +0200)]
fetch: use the include-tag capability

This tells the remote to send us any tags that point to objects that
we are downloading.

11 years agorefs: propagate EEXISTS
Carlos Martín Nieto [Sun, 30 Sep 2012 09:37:53 +0000 (11:37 +0200)]
refs: propagate EEXISTS

Indicate whether the error comes from the ref already existing or
elsewhere. We always perform the check and this lets the user write
more concise code.

11 years agorefspec: add git_refspec__free, remove git_refspec_parse
Carlos Martín Nieto [Thu, 27 Sep 2012 10:04:41 +0000 (12:04 +0200)]
refspec: add git_refspec__free, remove git_refspec_parse

The latter shouldn't be exposed and isn't used, git_refspec__parse
supersedes it.

Fix a leak in the refspec tests while we're at it.

11 years agoexamples: fix config getter param order
Carlos Martín Nieto [Sun, 30 Sep 2012 09:02:53 +0000 (11:02 +0200)]
examples: fix config getter param order

11 years agoClean up Win64 warnings
Russell Belfer [Fri, 28 Sep 2012 16:08:09 +0000 (09:08 -0700)]
Clean up Win64 warnings

11 years agoMerge pull request #959 from jamill/empty_file_hash
Vicent Martí [Fri, 28 Sep 2012 18:57:02 +0000 (11:57 -0700)]
Merge pull request #959 from jamill/empty_file_hash

Fix error hashing empty file.

11 years agoMerge pull request #958 from schu/fix-merge-base
Vicent Martí [Fri, 28 Sep 2012 18:48:43 +0000 (11:48 -0700)]
Merge pull request #958 from schu/fix-merge-base

revwalk: fix off-by-one error

11 years agoMerge pull request #941 from arrbee/diff-separate-iterators
Vicent Martí [Fri, 28 Sep 2012 16:56:42 +0000 (09:56 -0700)]
Merge pull request #941 from arrbee/diff-separate-iterators

Create a diff patch object as a replacement for iterators

11 years agoFix error hashing empty file.
Jameson Miller [Wed, 26 Sep 2012 21:21:32 +0000 (17:21 -0400)]
Fix error hashing empty file.

11 years agorevwalk: fix off-by-one error
Michael Schubert [Thu, 27 Sep 2012 12:59:43 +0000 (14:59 +0200)]
revwalk: fix off-by-one error

Fixes #921.

11 years agoAdd const to all shared pointers in diff API
Russell Belfer [Tue, 25 Sep 2012 23:31:46 +0000 (16:31 -0700)]
Add const to all shared pointers in diff API

There are a lot of places where the diff API gives the user access
to internal data structures and many of these were being exposed
through non-const pointers.  This replaces them all with const
pointers for any object that the user can access but is still
owned internally to the git_diff_list or git_diff_patch objects.

This will probably break some bindings...  Sorry!

11 years agoFix bugs in new diff patch code
Russell Belfer [Tue, 25 Sep 2012 17:48:50 +0000 (10:48 -0700)]
Fix bugs in new diff patch code

This fixes all the bugs in the new diff patch code.  The only
really interesting one is that when we merge two diffs, we now
have to actually exclude diff delta records that are not supposed
to be tracked, as opposed to before where they could be included
because they would be skipped silently by `git_diff_foreach()`.
Other than that, there are just minor errors.

11 years agoInitial implementation of new diff patch API
Russell Belfer [Tue, 25 Sep 2012 03:52:34 +0000 (20:52 -0700)]
Initial implementation of new diff patch API

Replacing the `git_iterator` object, this creates a simple API
for accessing the "patch" for any file pair in a diff list and
then gives indexed access to the hunks in the patch and the lines
in the hunk.  This is the initial implementation of this revised
API - it is still broken, but at least builds cleanly.

11 years agoNew take on iterating over diff content
Russell Belfer [Tue, 18 Sep 2012 22:13:07 +0000 (15:13 -0700)]
New take on iterating over diff content

Allow diff deltas to be accessed by index and make patch generation
explicit with hunk and line access by index as well.

11 years agoMerge pull request #947 from arrbee/public-error-set
Vicent Martí [Tue, 25 Sep 2012 21:53:13 +0000 (14:53 -0700)]
Merge pull request #947 from arrbee/public-error-set

Make giterr_set_str() and giterr_set_oom() public APIs

11 years agoMerge pull request #944 from scunz/list_tags
Vicent Martí [Tue, 25 Sep 2012 21:52:24 +0000 (14:52 -0700)]
Merge pull request #944 from scunz/list_tags

Tags: teach git_tag_list not to include the 'refs/tags/' prefix

11 years agoMerge pull request #938 from nulltoken/topic/is_valid_name
Vicent Martí [Tue, 25 Sep 2012 21:35:33 +0000 (14:35 -0700)]
Merge pull request #938 from nulltoken/topic/is_valid_name

Topic/is valid name

11 years agorefspec: introduce git_refspec__parse()
nulltoken [Tue, 11 Sep 2012 09:42:13 +0000 (11:42 +0200)]
refspec: introduce git_refspec__parse()

11 years agorefs: introduce git_reference_is_valid_name()
nulltoken [Mon, 17 Sep 2012 05:11:32 +0000 (07:11 +0200)]
refs: introduce git_reference_is_valid_name()

11 years agorefs: make git_reference_normalize_name() accept refspec pattern
nulltoken [Tue, 11 Sep 2012 10:06:57 +0000 (12:06 +0200)]
refs: make git_reference_normalize_name() accept refspec pattern

11 years agoTests: Add test for git_tag_list to check for 'git tag -l "*bar"'
Sascha Cunz [Sat, 22 Sep 2012 21:11:26 +0000 (23:11 +0200)]
Tests: Add test for git_tag_list to check for 'git tag -l "*bar"'

11 years agoTests: reindent object/tag/list.c to use tabs
Sascha Cunz [Sat, 22 Sep 2012 21:04:45 +0000 (23:04 +0200)]
Tests: reindent object/tag/list.c to use tabs

11 years agoTests::object::tag: also test for a 'foo/*/bar'.
Sascha Cunz [Thu, 20 Sep 2012 23:53:15 +0000 (01:53 +0200)]
Tests::object::tag: also test for a 'foo/*/bar'.

11 years agoTests: Add 3 tags to resources/testrepo.
Sascha Cunz [Thu, 20 Sep 2012 22:57:21 +0000 (00:57 +0200)]
Tests: Add 3 tags to resources/testrepo.

Adjusts refs::list test (including the comments)
Adjusts objects::tags::list test

11 years agoTests::Object::Tag: Add a mechanism to test which tags were returned
Sascha Cunz [Thu, 20 Sep 2012 22:32:53 +0000 (00:32 +0200)]
Tests::Object::Tag: Add a mechanism to test which tags were returned

This patch changes the tag listing test helper to use a struct as input
parameter, which tells what we exactly expect.

As I don't think, we can rely on the fact that every os and every
filesystem will report the tags in the same order, I made this code
independent of the order that the tags are retrieved.

11 years agoTests::Object::Tag: move listing tags tests to an own file
Sascha Cunz [Thu, 20 Sep 2012 21:49:17 +0000 (23:49 +0200)]
Tests::Object::Tag: move listing tags tests to an own file

11 years agoTags: teach git_tag_list not to include the 'refs/tags/' prefix
Sascha Cunz [Thu, 20 Sep 2012 20:42:22 +0000 (22:42 +0200)]
Tags: teach git_tag_list not to include the 'refs/tags/' prefix

Since quite a while now, git_branch_foreach has learnt to list branches
without the 'refs/heads/' or 'refs/remotes' prefixes.
This patch teaches git_tag_list to do the same for listing tags.

11 years agoFix -Wmaybe-uninitialized warning
Michael Schubert [Sat, 22 Sep 2012 10:29:16 +0000 (12:29 +0200)]
Fix -Wmaybe-uninitialized warning

11 years agoMerge pull request #948 from csware/comment-fix
Russell Belfer [Fri, 21 Sep 2012 23:20:41 +0000 (16:20 -0700)]
Merge pull request #948 from csware/comment-fix

Make clear that git_odb_hashfile does not use filters

11 years agoMake clear that git_odb_hashfile does not use filters
Sven Strickroth [Fri, 21 Sep 2012 23:16:10 +0000 (01:16 +0200)]
Make clear that git_odb_hashfile does not use filters

Signed-off-by: Sven Strickroth <email@cs-ware.de>
11 years agoMake giterr_set_str public
Russell Belfer [Fri, 21 Sep 2012 22:04:39 +0000 (15:04 -0700)]
Make giterr_set_str public

There has been discussion for a while about making some set of
the `giterr_set` type functions part of the public API for code
that is implementing new backends to libgit2.  This makes the
`giterr_set_str()` and `giterr_set_oom()` functions public.

11 years agoMerge pull request #942 from nulltoken/topic/checkout-notify-skipped
Russell Belfer [Fri, 21 Sep 2012 17:51:42 +0000 (10:51 -0700)]
Merge pull request #942 from nulltoken/topic/checkout-notify-skipped

checkout: add notification callback for skipped files

11 years agoMerge pull request #943 from csware/only-close-open-filehandles
Russell Belfer [Fri, 21 Sep 2012 17:42:53 +0000 (10:42 -0700)]
Merge pull request #943 from csware/only-close-open-filehandles

git_repository_hashfile: Only close file handle if we have a valid one

11 years agocheckout: add notification callback for skipped files
nulltoken [Wed, 19 Sep 2012 10:23:47 +0000 (12:23 +0200)]
checkout: add notification callback for skipped files

11 years agogit_repository_hashfile: Only close file handle if we have a valid one
Sven Strickroth [Thu, 20 Sep 2012 20:32:19 +0000 (22:32 +0200)]
git_repository_hashfile: Only close file handle if we have a valid one

Otherwise this throws an exception on MFC based systems.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
11 years agoFix MSVC amd64 compilation warnings
nulltoken [Thu, 20 Sep 2012 12:06:49 +0000 (14:06 +0200)]
Fix MSVC amd64 compilation warnings

11 years agocheckout: prefer mode_t type usage over int
nulltoken [Thu, 20 Sep 2012 09:41:49 +0000 (11:41 +0200)]
checkout: prefer mode_t type usage over int

11 years agoODB pack: snapshot last_found to avoid race
Ben Straub [Wed, 19 Sep 2012 11:55:16 +0000 (04:55 -0700)]
ODB pack: snapshot last_found to avoid race

Also removed unnecessary refresh call and fixed
some indentation.

11 years agoRemove mtime checks from ODB packfile backend
Ben Straub [Fri, 14 Sep 2012 03:08:05 +0000 (20:08 -0700)]
Remove mtime checks from ODB packfile backend

Now forcing refresh on a foreach, and on missed full-oid
or short-oid lookups.

11 years agoODB: re-load packfiles on failed lookup
Ben Straub [Thu, 13 Sep 2012 21:02:46 +0000 (14:02 -0700)]
ODB: re-load packfiles on failed lookup

The old method was avoiding re-loading of packfiles by watching the mtime of the
pack directory. This causes the ODB to become stale if the directory and packfile
are written within the same clock millisecond, as when cloning a fairly small
repo.

This method tries to find the object in the cached packs, and forces a refresh when
that fails. This will cause extra stat'ing on a miss, but speeds up the success
case and avoids this race condition.

11 years agoMinor fixes for ignorecase support
Philip Kelley [Mon, 17 Sep 2012 20:10:42 +0000 (16:10 -0400)]
Minor fixes for ignorecase support

11 years agoSupport for core.ignorecase
Philip Kelley [Mon, 17 Sep 2012 19:42:41 +0000 (15:42 -0400)]
Support for core.ignorecase

11 years agoMerge pull request #887 from nulltoken/topic/reset-hard
Russell Belfer [Mon, 17 Sep 2012 18:38:33 +0000 (11:38 -0700)]
Merge pull request #887 from nulltoken/topic/reset-hard

Checkout, reset and others enhancements

11 years agocheckout: Mimic git_diff_options storage of paths
nulltoken [Mon, 17 Sep 2012 18:27:28 +0000 (20:27 +0200)]
checkout: Mimic git_diff_options storage of paths

11 years agocheckout : reduce memory usage when not filtering
nulltoken [Mon, 17 Sep 2012 08:38:57 +0000 (10:38 +0200)]
checkout : reduce memory usage when not filtering

11 years agorepository: introduce git_repository_set_head()
nulltoken [Sat, 15 Sep 2012 20:07:45 +0000 (22:07 +0200)]
repository: introduce git_repository_set_head()

11 years agorepository: introduce git_repository_set_head_detached()
nulltoken [Sat, 15 Sep 2012 20:07:09 +0000 (22:07 +0200)]
repository: introduce git_repository_set_head_detached()

11 years agorepository: introduce git_repository_detach_head()
nulltoken [Sat, 15 Sep 2012 20:03:31 +0000 (22:03 +0200)]
repository: introduce git_repository_detach_head()

11 years agorepository: fix documentation typo
nulltoken [Sat, 15 Sep 2012 10:55:37 +0000 (12:55 +0200)]
repository: fix documentation typo

11 years agorepository: separate head related tests
nulltoken [Sat, 15 Sep 2012 10:44:07 +0000 (12:44 +0200)]
repository: separate head related tests

11 years agocheckout: add test coverage of dirs and subtrees
nulltoken [Sat, 15 Sep 2012 10:23:49 +0000 (12:23 +0200)]
checkout: add test coverage of dirs and subtrees

11 years agocheckout: drop git_checkout_reference()
nulltoken [Fri, 14 Sep 2012 09:15:49 +0000 (11:15 +0200)]
checkout: drop git_checkout_reference()

11 years agocheckout: segregate checkout strategies
nulltoken [Thu, 6 Sep 2012 13:15:46 +0000 (15:15 +0200)]
checkout: segregate checkout strategies

11 years agocheckout: separate tree from index related tests
nulltoken [Fri, 14 Sep 2012 14:45:24 +0000 (16:45 +0200)]
checkout: separate tree from index related tests

11 years agoreset: add support for GIT_RESET_HARD mode
nulltoken [Sun, 19 Aug 2012 19:24:51 +0000 (21:24 +0200)]
reset: add support for GIT_RESET_HARD mode

11 years agocheckout: introduce git_checkout_index()
nulltoken [Fri, 24 Aug 2012 08:40:17 +0000 (10:40 +0200)]
checkout: introduce git_checkout_index()

11 years agocheckout: introduce git_checkout_tree()
nulltoken [Mon, 20 Aug 2012 14:56:45 +0000 (16:56 +0200)]
checkout: introduce git_checkout_tree()