]> git.proxmox.com Git - libgit2.git/log
libgit2.git
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.

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

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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.

12 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.

12 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

12 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.

12 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.

12 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.

12 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.

12 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

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

12 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.

12 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

12 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

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

12 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.

12 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!

12 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.

12 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.

12 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.

12 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

12 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

12 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

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

12 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()

12 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

12 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"'

12 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

12 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'.

12 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

12 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.

12 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

12 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.

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

12 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

12 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>
12 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.

12 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

12 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

12 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

12 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>
12 years agoFix MSVC amd64 compilation warnings
nulltoken [Thu, 20 Sep 2012 12:06:49 +0000 (14:06 +0200)]
Fix MSVC amd64 compilation warnings

12 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

12 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.

12 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.

12 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.

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

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

12 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

12 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

12 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

12 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()

12 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()

12 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()

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

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

12 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

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

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

12 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

12 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

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

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

12 years agoodb: don't overflow the link path buffer
Carlos Martín Nieto [Sat, 15 Sep 2012 22:10:07 +0000 (00:10 +0200)]
odb: don't overflow the link path buffer

Allocate a buffer large enough to store the path plus the terminator
instead of letting readlink write beyond the end.

12 years agoMerge pull request #860 from schu/thread-safety
Vicent Martí [Fri, 14 Sep 2012 20:45:29 +0000 (13:45 -0700)]
Merge pull request #860 from schu/thread-safety

odb_pack: make sure to search all backends

12 years agoodb_pack: fix race condition
Michael Schubert [Fri, 14 Sep 2012 19:33:50 +0000 (21:33 +0200)]
odb_pack: fix race condition

last_found is the last packfile a wanted object was found in. Since
last_found is shared among all searching threads, it might changes while
we're searching. As suggested by @arrbee, put a copy on the stack to fix
the race condition.

12 years agoMerge pull request #937 from nulltoken/fix/issue_936
Vicent Martí [Fri, 14 Sep 2012 20:33:49 +0000 (13:33 -0700)]
Merge pull request #937 from nulltoken/fix/issue_936

refs: prevent locked refs from being enumerated

12 years agorefs: prevent locked refs from being enumerated
nulltoken [Fri, 14 Sep 2012 19:36:49 +0000 (21:36 +0200)]
refs: prevent locked refs from being enumerated

Fix #936

12 years agoconfig: fix Unicode BOM detection
Carlos Martín Nieto [Fri, 14 Sep 2012 18:43:47 +0000 (20:43 +0200)]
config: fix Unicode BOM detection

Defining the BOM as a string makes the array include the
NUL-terminator, which means that the memcpy is going to check for that
as well and thus never match for a nonempty file.

Define the array as three chars, which makes the size correct.

12 years agoRemove unnecessary include
Russell Belfer [Fri, 14 Sep 2012 17:31:40 +0000 (10:31 -0700)]
Remove unnecessary include

I don't think clone.c needs in #include dirent.h and it is not
portable, so let's just get rid of it.

12 years agoMerge pull request #934 from nulltoken/patch-1
Russell Belfer [Fri, 14 Sep 2012 09:04:32 +0000 (02:04 -0700)]
Merge pull request #934 from nulltoken/patch-1

Fix MSVC compilation warnings

12 years agoFix MSVC compilation warnings
nulltoken [Fri, 14 Sep 2012 08:47:43 +0000 (11:47 +0300)]
Fix MSVC compilation warnings

12 years agoMerge pull request #933 from barrbrain/pack-iterate-objects-in-offset-order
Vicent Martí [Fri, 14 Sep 2012 06:04:16 +0000 (23:04 -0700)]
Merge pull request #933 from barrbrain/pack-iterate-objects-in-offset-order

pack: iterate objects in offset order

12 years agopack: iterate objects in offset order
David Michael Barr [Mon, 10 Sep 2012 01:48:21 +0000 (11:48 +1000)]
pack: iterate objects in offset order

Compute the ordering on demand and persist until the index is freed.

12 years agohttp: use the new unicode functions
Carlos Martín Nieto [Thu, 13 Sep 2012 22:51:29 +0000 (00:51 +0200)]
http: use the new unicode functions

The winhttp branch was based on a version before these existed, so the
build broke on Windows.

12 years agoMerge pull request #901 from carlosmn/winhttp
Vicent Martí [Fri, 14 Sep 2012 00:24:08 +0000 (17:24 -0700)]
Merge pull request #901 from carlosmn/winhttp

http: use WinHTTP on Windows

12 years agohttp: use WinHTTP on Windows
Carlos Martín Nieto [Sun, 26 Aug 2012 17:22:34 +0000 (19:22 +0200)]
http: use WinHTTP on Windows

Wondows has its own HTTP library. Use that one when possible instead of
our own.

As we don't depend on them anymore, remove the http-parser library from
the Windows build, as well as the search for OpenSSL.

12 years agoMerge pull request #931 from scunz/error_text
Vicent Martí [Thu, 13 Sep 2012 21:35:41 +0000 (14:35 -0700)]
Merge pull request #931 from scunz/error_text

Fix error text s/buffer too long/buffer too short/

12 years agoFix error text s/buffer too long/buffer too short/
Sascha Cunz [Thu, 13 Sep 2012 21:30:31 +0000 (23:30 +0200)]
Fix error text s/buffer too long/buffer too short/

12 years agoMerge pull request #929 from arrbee/diff-iter-fixes
Vicent Martí [Thu, 13 Sep 2012 21:20:43 +0000 (14:20 -0700)]
Merge pull request #929 from arrbee/diff-iter-fixes

Fix problems in diff iterator record chaining

12 years agoForgot to reset hunk & line between files
Russell Belfer [Thu, 13 Sep 2012 21:15:07 +0000 (14:15 -0700)]
Forgot to reset hunk & line between files

The last change tweaked the way we use the hunk_curr pointer
during iteration, but failed to reset the value back to NULL
when switching files.

12 years agoMerge pull request #930 from nulltoken/fix/tracking-without-fetch-refspec
Vicent Martí [Thu, 13 Sep 2012 20:35:04 +0000 (13:35 -0700)]
Merge pull request #930 from nulltoken/fix/tracking-without-fetch-refspec

refspec: No remote tracking ref from a fetchspec-less remote

12 years agorefspec: No remote tracking ref from a fetchspec-less remote
nulltoken [Thu, 13 Sep 2012 20:22:40 +0000 (22:22 +0200)]
refspec: No remote tracking ref from a fetchspec-less remote

12 years agoFix problems in diff iterator record chaining
Russell Belfer [Thu, 13 Sep 2012 20:17:38 +0000 (13:17 -0700)]
Fix problems in diff iterator record chaining

There is a bug in building the linked list of line records in the
diff iterator and also an off by one element error in the hunk
counts.  This fixes both of these, adds some test data with more
complex sets of hunk and line diffs to exercise this code better.

12 years agoMerge pull request #927 from arrbee/hashfile-with-filters
Vicent Martí [Thu, 13 Sep 2012 16:24:12 +0000 (09:24 -0700)]
Merge pull request #927 from arrbee/hashfile-with-filters

Add git_repository_hashfile to hash with filters

12 years agoMerge pull request #928 from barrbrain/odb-pack-stat-less
Vicent Martí [Thu, 13 Sep 2012 16:07:06 +0000 (09:07 -0700)]
Merge pull request #928 from barrbrain/odb-pack-stat-less

odb_pack: try lookup before refreshing packs

12 years agoFix -Wuninitialized warning
Michael Schubert [Thu, 13 Sep 2012 15:57:45 +0000 (17:57 +0200)]
Fix -Wuninitialized warning