]> git.proxmox.com Git - libgit2.git/log
libgit2.git
13 years agolibgit2 v0.15.0 "Das Wunderbar Release"
Vicent Marti [Wed, 5 Oct 2011 20:48:36 +0000 (16:48 -0400)]
libgit2 v0.15.0 "Das Wunderbar Release"

I am aware the codename is not gramatically correct in any language.

Check the COPYING file for the detailed terms on libgit2's license. Check
the AUTHORS file for the full list of guilty parties.

As we slowly stabilize the API, we've dropped 1 function from the library,
and changed the signature of only 5 of them. There's of course a good
chunk of new functionality, and a thousand bug fixes.

In this release of libgit2:

- Changed `git_blob_rawsize`: Now returns `size_t` instead of int, allowing
files >4GB in 64 bit systems.

- Removed `git_commit_message_short`: Please use `git_commit_message`
to get the full message and decide which is the "short view" according
to your needs (first line, first 80 chars...)

- Added `git_commit_message_encoding`: Returns the encoding field of a commit
message, if it exists.

- Changed `git_commit_create`, `git_commit_create_v`: New argument `encoding`, which
adds a encoding field to the generated commit object.

- Added `git_config_find_system`: Returns the path to the system's global config
file (according to the Core Git standards).

- Changed `git_config_get_XX`, `git_config_set_XX`: the `long` and `int` types have
been replaced by `int64` and `int32` respectively, to make their meaning more
obvious.

- Added `git_indexer`: An interface to index Git Packfiles has been added in the
`git2/indexer.h` header.

- Changed `git_reflog_entry_XX`: Reflog entries are now returned as `git_oid *` objects
instead of hexadecimal OIDs.

- Added `git_remote`: More fetch functionality has been added to the `git2/remote.h`
functionality. Local, Smart HTTP and Git protocols are now supported.

- Added `git_repository_head`: Returns the HEAD of the repository.

- Added `git_repository_config_autoload`: Opens the configuration file of a repository,
including the user's and the system's global config files, if they can be found.

- Changed `git_signature_now`: Now returns an error code; the signature is stored by
reference.

13 years agocmake: Set the old test suite as default for the release
Vicent Marti [Wed, 5 Oct 2011 20:46:34 +0000 (16:46 -0400)]
cmake: Set the old test suite as default for the release

13 years agomsvc: Remove superfluous includes
Vicent Marti [Wed, 5 Oct 2011 20:44:27 +0000 (13:44 -0700)]
msvc: Remove superfluous includes

13 years agomsvc: Properly handle inttypes.h/stdint.h
Vicent Marti [Tue, 4 Oct 2011 19:11:51 +0000 (21:11 +0200)]
msvc: Properly handle inttypes.h/stdint.h

13 years agoindexer: NUL-terminate the filename
Carlos Martín Nieto [Wed, 5 Oct 2011 17:59:34 +0000 (19:59 +0200)]
indexer: NUL-terminate the filename

As we no longer use the STRLEN macro, the NUL-terminator in the string
was not copied over. Fix this.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agoMerge pull request #441 from csware/ignore-missing-pack-file
Vicent Martí [Mon, 3 Oct 2011 21:42:52 +0000 (14:42 -0700)]
Merge pull request #441 from csware/ignore-missing-pack-file

ignore missing pack file

13 years agoMerge pull request #438 from jdavid/development
Vicent Martí [Mon, 3 Oct 2011 21:40:06 +0000 (14:40 -0700)]
Merge pull request #438 from jdavid/development

Make git_oid_fromstrn support hex strings of odd length

13 years agoignore missing pack file as git does
Sven Strickroth [Mon, 3 Oct 2011 21:12:43 +0000 (23:12 +0200)]
ignore missing pack file as git does

See http://code.google.com/p/tortoisegit/issues/detail?id=862

Signed-off-by: Sven Strickroth <email@cs-ware.de>
13 years agooid: add missing check to git_oid_fromstrn
J. David Ibáñez [Sun, 2 Oct 2011 19:40:57 +0000 (21:40 +0200)]
oid: add missing check to git_oid_fromstrn

Signed-off-by: J. David Ibáñez <jdavid.ibp@gmail.com>
13 years agoSquelch a couple of warnings
Carlos Martín Nieto [Sat, 1 Oct 2011 18:16:13 +0000 (20:16 +0200)]
Squelch a couple of warnings

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agoconfig: behave like git with [section.subsection]
Carlos Martín Nieto [Sat, 1 Oct 2011 17:56:04 +0000 (19:56 +0200)]
config: behave like git with [section.subsection]

The documentation is a bit misleading. The subsection name is always
case-sensitive, but with a [section.subsection] header, the subsection
is transformed to lowercase when the configuration is parsed.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agoindexer: return immediately if passed a NULL value
Carlos Martín Nieto [Sat, 1 Oct 2011 12:46:30 +0000 (14:46 +0200)]
indexer: return immediately if passed a NULL value

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agopkt: send all of the wants in the negotiation
Carlos Martín Nieto [Sat, 1 Oct 2011 12:34:51 +0000 (14:34 +0200)]
pkt: send all of the wants in the negotiation

A missing if caused the function to return after the first want line
without capabilities.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agotransport-git: fix git request length calculation
Carlos Martín Nieto [Sat, 1 Oct 2011 11:41:16 +0000 (13:41 +0200)]
transport-git: fix git request length calculation

There was an off-by-one error that was uncovered when we used the
right length from git_buf.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agoclay: Fix compilation under MSVC
Vicent Marti [Sat, 1 Oct 2011 11:25:24 +0000 (13:25 +0200)]
clay: Fix compilation under MSVC

13 years agotransport-git: Encapsulation ist gut
Vicent Marti [Sat, 1 Oct 2011 11:10:29 +0000 (13:10 +0200)]
transport-git: Encapsulation ist gut

13 years agohttp-transport: Properly cleanup the WSA context
Vicent Marti [Sat, 1 Oct 2011 10:58:55 +0000 (12:58 +0200)]
http-transport: Properly cleanup the WSA context

13 years agohttp-transport: Update copyright
Vicent Marti [Sat, 1 Oct 2011 10:58:17 +0000 (12:58 +0200)]
http-transport: Update copyright

13 years agoMerge pull request #437 from carlosmn/networking-windows
Vicent Martí [Sat, 1 Oct 2011 10:56:19 +0000 (03:56 -0700)]
Merge pull request #437 from carlosmn/networking-windows

Fix networking on Windows

13 years agoInclude stdint.h in git2/config.h
Carlos Martín Nieto [Sat, 1 Oct 2011 00:09:35 +0000 (02:09 +0200)]
Include stdint.h in git2/config.h

Otherwise MSVC doesn't know what we're talking about when we say
int32_t or int64_t.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agonetops: abstract away socket closing
Carlos Martín Nieto [Fri, 30 Sep 2011 21:48:27 +0000 (23:48 +0200)]
netops: abstract away socket closing

Winsock wants us to use closesocket() instead of close(), so introduce
the gitno_close function, which does the right thing.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agolocal transport: don't segfault on wrong URL
Carlos Martín Nieto [Fri, 30 Sep 2011 16:35:33 +0000 (18:35 +0200)]
local transport: don't segfault on wrong URL

memset the structure on initialisation and don't try to dereference
the vector with the heads if we didn't find a repository.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agoInitialise the winsock DLL
Carlos Martín Nieto [Fri, 30 Sep 2011 15:21:30 +0000 (17:21 +0200)]
Initialise the winsock DLL

Windows wants us to initialise the networking DLL before we're allowed
to send data through a socket. Call WSASetup and WSACleanup if
GIT_WIN32 is defined.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agoUse git_buf in the git request
Carlos Martín Nieto [Fri, 30 Sep 2011 14:55:05 +0000 (16:55 +0200)]
Use git_buf in the git request

This is clearer and sidesteps the issue of what the return value of
snprintf is on the particular OS we're running on.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agoMerge pull request #436 from libgit2/config-int-types
Vicent Martí [Fri, 30 Sep 2011 20:52:01 +0000 (13:52 -0700)]
Merge pull request #436 from libgit2/config-int-types

config: Proper type declarations for 64 bit ints

13 years agooid: now git_oid_fromstrn checks whether the given string is too short
J. David Ibáñez [Fri, 30 Sep 2011 17:50:13 +0000 (19:50 +0200)]
oid: now git_oid_fromstrn checks whether the given string is too short

Signed-off-by: J. David Ibáñez <jdavid.ibp@gmail.com>
13 years agooid: optimize git_oid_fromstrn by using memset
J. David Ibáñez [Fri, 30 Sep 2011 17:41:29 +0000 (19:41 +0200)]
oid: optimize git_oid_fromstrn by using memset

Signed-off-by: J. David Ibáñez <jdavid.ibp@gmail.com>
13 years agooid: make git_oid_fromstrn support hex strings of odd length
J. David Ibáñez [Fri, 30 Sep 2011 17:08:48 +0000 (19:08 +0200)]
oid: make git_oid_fromstrn support hex strings of odd length

This fixes issue #433.

Signed-off-by: J. David Ibáñez <jdavid.ibp@gmail.com>
13 years agocore: One last `long long`
Vicent Marti [Fri, 30 Sep 2011 14:25:03 +0000 (16:25 +0200)]
core: One last `long long`

13 years agoconfig: Proper type declarations for 64 bit ints
Vicent Marti [Fri, 30 Sep 2011 14:08:06 +0000 (16:08 +0200)]
config: Proper type declarations for 64 bit ints

13 years agoconfig: fix check for environment string expansion
Carlos Martín Nieto [Fri, 30 Sep 2011 13:43:58 +0000 (15:43 +0200)]
config: fix check for environment string expansion

If ExpandEnvironmentStringsW is successful, it returns the amount of
characters written, including the NUL terminator.

Thanks to Emeric for reading the MSDN documentation correctly.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agoMerge pull request #434 from schu/fix-ref-regression
Vicent Martí [Fri, 30 Sep 2011 12:14:04 +0000 (05:14 -0700)]
Merge pull request #434 from schu/fix-ref-regression

refs.c: fix reference_rename

13 years agorefs.c: fix reference_rename
schu [Fri, 30 Sep 2011 08:31:41 +0000 (10:31 +0200)]
refs.c: fix reference_rename

6c8b458 removed an "unused" variable needed for git_hashtable_insert2(),
causing a segfault in reference_rename(). Instead, use
git_hashtable_insert().

Signed-off-by: schu <schu-github@schulog.org>
13 years agorepository: export git_repository_config_autoload
Carlos Martín Nieto [Fri, 30 Sep 2011 04:26:29 +0000 (06:26 +0200)]
repository: export git_repository_config_autoload

Take the opportunity to finish the comment about this function.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agomingw: Fix compilation warnings
Vicent Marti [Thu, 29 Sep 2011 15:04:45 +0000 (17:04 +0200)]
mingw: Fix compilation warnings

13 years agonetops: Use pragmas only in MSVC
Vicent Marti [Thu, 29 Sep 2011 14:30:38 +0000 (16:30 +0200)]
netops: Use pragmas only in MSVC

13 years agoindex: Silence type-punned warning
Vicent Marti [Thu, 29 Sep 2011 14:28:00 +0000 (16:28 +0200)]
index: Silence type-punned warning

13 years agomingw: Fix printf identifiers
Vicent Marti [Thu, 29 Sep 2011 14:23:24 +0000 (16:23 +0200)]
mingw: Fix printf identifiers

13 years agoodb: Pass compression settings to filebuf
Vicent Marti [Thu, 29 Sep 2011 13:49:28 +0000 (15:49 +0200)]
odb: Pass compression settings to filebuf

13 years agoodb: Let users decide compression level for the loose ODB
Vicent Marti [Thu, 29 Sep 2011 13:34:17 +0000 (15:34 +0200)]
odb: Let users decide compression level for the loose ODB

13 years agohttp-parser: Disable MSVC warnings locally
Vicent Marti [Thu, 29 Sep 2011 13:24:41 +0000 (15:24 +0200)]
http-parser: Disable MSVC warnings locally

13 years agoResync with upstream http-parser
Carlos Martín Nieto [Wed, 28 Sep 2011 21:54:09 +0000 (23:54 +0200)]
Resync with upstream http-parser

13 years agomsvc: Disable warnings in header file
Vicent Marti [Wed, 28 Sep 2011 21:42:38 +0000 (23:42 +0200)]
msvc: Disable warnings in header file

Remove clutter from the CMakeLists file by disabling the warnings
programatically.

13 years agohttp-parser: More type changes
Vicent Marti [Wed, 28 Sep 2011 18:21:48 +0000 (20:21 +0200)]
http-parser: More type changes

13 years agoChange types in http-parser
Vicent Marti [Wed, 28 Sep 2011 17:27:58 +0000 (19:27 +0200)]
Change types in http-parser

13 years agoUpdate Clay
Vicent Marti [Wed, 28 Sep 2011 16:57:32 +0000 (18:57 +0200)]
Update Clay

13 years agoMerge pull request #432 from carlosmn/msvc
Vicent Martí [Tue, 27 Sep 2011 18:14:23 +0000 (11:14 -0700)]
Merge pull request #432 from carlosmn/msvc

Really fix MSVC

13 years agoReally fix MSVC
Carlos Martín Nieto [Tue, 27 Sep 2011 18:08:13 +0000 (20:08 +0200)]
Really fix MSVC

These was left over from the previous PRs.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agoFix dev branch under MSVC
Carlos Martín Nieto [Fri, 23 Sep 2011 15:36:37 +0000 (17:36 +0200)]
Fix dev branch under MSVC

In libgit2: Move an enum out of an int bitfield in the HTTP transport.

In the parser: Use int bitfields and change some variable sizes to
better fit thir use. Variables that count the size of the data chunk
can only ever be as large as off_t. Warning 4127 can be ignored, as
nobody takes it seriously anyway.

From Emeric: change some variable declarations to keep MSVC happy.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agohttp-parser: Do not use bitfields
Vicent Marti [Tue, 27 Sep 2011 12:53:57 +0000 (14:53 +0200)]
http-parser: Do not use bitfields

Bitfields suck. And if you make them with non-int types, they suck
in a non-standards compliant way. Like sucking sideways or something.

This commit removes all bitfields in the `http_parser` struct, and
replaces them with the minimal type needed to contain their values. Note
that the fields in the struct have been reordered so they can be packed
with 4-byte alignment.

This saves both memory on the parser (because non-int bitfields get expanded to
4byte in most compilers anyway) and time (because the fields are now
properly aligned and the compiler doesn't need to generate bit-level ops
to access them).

13 years agoMake repo config loading automatic or completely explicit
Carlos Martín Nieto [Thu, 22 Sep 2011 20:50:36 +0000 (22:50 +0200)]
Make repo config loading automatic or completely explicit

git_repository_config wants to take the global and system paths again
so that one can be explicit if needed.

The git_repository_config_autoload function is provided for the cases
when it's good enough for the library to guess where those files are
located.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agoAdd git_config_find_system
Carlos Martín Nieto [Thu, 22 Sep 2011 19:34:46 +0000 (21:34 +0200)]
Add git_config_find_system

This allows the library to guess where the system configuration file
should be located.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agoMerge pull request #427 from schu/fix-unused-parameters
Vicent Martí [Tue, 27 Sep 2011 12:35:34 +0000 (05:35 -0700)]
Merge pull request #427 from schu/fix-unused-parameters

t18-status.c: fix unused warnings

13 years agotree: Fix check for valid attributes
Vicent Marti [Tue, 27 Sep 2011 12:31:57 +0000 (14:31 +0200)]
tree: Fix check for valid attributes

13 years agotree: Use an internal append functiont to add new entries
Vicent Marti [Tue, 27 Sep 2011 12:30:14 +0000 (14:30 +0200)]
tree: Use an internal append functiont to add new entries

13 years agoMake use of the tree cache
Carlos Martín Nieto [Sat, 24 Sep 2011 15:06:52 +0000 (17:06 +0200)]
Make use of the tree cache

Taking advantage of the tree cache, git_tree_create_fromindex becomes
comparable in speed to git write-tree when the cache is available.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agoAdd git_tree_cache_get
Carlos Martín Nieto [Tue, 2 Aug 2011 13:27:42 +0000 (15:27 +0200)]
Add git_tree_cache_get

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoInvalidate the path when removing from the index
Carlos Martín Nieto [Tue, 2 Aug 2011 12:38:49 +0000 (14:38 +0200)]
Invalidate the path when removing from the index

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoindex: invalidate added paths
Carlos Martín Nieto [Tue, 26 Jul 2011 13:22:15 +0000 (15:22 +0200)]
index: invalidate added paths

When a file is updated in the index, it's path needs to be invalidated
in the tree cache as the hash is no longer correct.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoAdd git_tree_cache_invalidate_path
Carlos Martín Nieto [Tue, 26 Jul 2011 12:58:32 +0000 (14:58 +0200)]
Add git_tree_cache_invalidate_path

Whenever a file is updated in the index, each tree leading towards it
needs to be invalidated. Provide the supporting function.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agotree cache: correctly handle invalidated trees
Carlos Martín Nieto [Tue, 26 Jul 2011 10:44:06 +0000 (12:44 +0200)]
tree cache: correctly handle invalidated trees

The fix introduced in a02fc2cd1 (2011-05-24; index: correctly parse
invalidated TREE extensions) threw out the rest of the data in the
extension if it found an invalidated entry. This was the result of
incorrect reading of the documentation.

Insted, keep reading the extension, as there may be cached data we can
use.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoMake tree cache name a flex-array
Carlos Martín Nieto [Tue, 26 Jul 2011 10:26:12 +0000 (12:26 +0200)]
Make tree cache name a flex-array

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoMove the tree cache functions to their own file
Carlos Martín Nieto [Tue, 26 Jul 2011 09:34:54 +0000 (11:34 +0200)]
Move the tree cache functions to their own file

Rename git_index_tree to git_tree_cache.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoRevert "Rewrite getenv to use Win32 version on Windows"
Vicent Marti [Thu, 22 Sep 2011 17:44:30 +0000 (20:44 +0300)]
Revert "Rewrite getenv to use Win32 version on Windows"

This reverts commit e1b86444676b70154bf8ab450d429bdef57a8276.

13 years agoMerge pull request #424 from carlosmn/access-unicode
Vicent Martí [Sun, 25 Sep 2011 13:52:01 +0000 (06:52 -0700)]
Merge pull request #424 from carlosmn/access-unicode

Implment p_access and use it in git_fileutils_exists

13 years agot18-status.c: fix unused warnings
schu [Sat, 24 Sep 2011 11:41:10 +0000 (13:41 +0200)]
t18-status.c: fix unused warnings

Signed-off-by: schu <schu-github@schulog.org>
13 years agoImplment p_access and use it in git_fileutils_exists
Carlos Martín Nieto [Thu, 22 Sep 2011 22:00:05 +0000 (00:00 +0200)]
Implment p_access and use it in git_fileutils_exists

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agoRevert changes to clay
Paul Betts [Thu, 22 Sep 2011 19:26:23 +0000 (12:26 -0700)]
Revert changes to clay

13 years agoMerge pull request #421 from nulltoken/ntk/fix/config-get-set-long
Vicent Martí [Thu, 22 Sep 2011 17:28:05 +0000 (10:28 -0700)]
Merge pull request #421 from nulltoken/ntk/fix/config-get-set-long

config: make git_config_[get|set]_long() able to properly deal with 8 bytes wide values

13 years agoAdd HTTP sources to Clay suite
Vicent Marti [Thu, 22 Sep 2011 17:23:42 +0000 (20:23 +0300)]
Add HTTP sources to Clay suite

13 years agoMerge pull request #405 from carlosmn/http-ls
Vicent Martí [Thu, 22 Sep 2011 17:17:43 +0000 (10:17 -0700)]
Merge pull request #405 from carlosmn/http-ls

Implement ls-remote over HTTP

13 years agoconfig: make git_config_[get|set]_long() able to properly deal with 8 bytes wide...
nulltoken [Wed, 21 Sep 2011 21:17:39 +0000 (23:17 +0200)]
config: make git_config_[get|set]_long() able to properly deal with 8 bytes wide values

Should fix issue #419.

Signed-off-by: nulltoken <emeric.fermas@gmail.com>
13 years agohttp: get rid of the global state
Carlos Martín Nieto [Wed, 21 Sep 2011 20:14:09 +0000 (22:14 +0200)]
http: get rid of the global state

Move the header parsing state into the transport, making use of the
existing bitfield.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agoRewrite getenv to use Win32 version on Windows
Paul Betts [Wed, 21 Sep 2011 18:17:30 +0000 (11:17 -0700)]
Rewrite getenv to use Win32 version on Windows

13 years agoDo not have duplicate filenames
Vicent Marti [Wed, 21 Sep 2011 11:09:56 +0000 (14:09 +0300)]
Do not have duplicate filenames

Two `posix.c` files may or may not break MSVC builds under 2008. Do not
have repeated objects.

You will need to clean & regenerate CMake.

13 years agoMerge pull request #415 from schu/ref-rename-regression
Vicent Martí [Tue, 20 Sep 2011 22:52:16 +0000 (15:52 -0700)]
Merge pull request #415 from schu/ref-rename-regression

refs: fix git_reference_rename()

13 years agoMerge pull request #413 from libgit2/utf8-paths-win32
Vicent Martí [Tue, 20 Sep 2011 22:38:10 +0000 (15:38 -0700)]
Merge pull request #413 from libgit2/utf8-paths-win32

Rewrite p_* functions to use Unicode and marshal to UTF8 internally, take 2

13 years agoMerge pull request #414 from carlosmn/repo-discover-short
Vicent Martí [Tue, 20 Sep 2011 22:37:55 +0000 (15:37 -0700)]
Merge pull request #414 from carlosmn/repo-discover-short

repsitory: use better error code if path is too short for discover

13 years agoFix clay under MinGW
Vicent Marti [Tue, 20 Sep 2011 22:14:57 +0000 (01:14 +0300)]
Fix clay under MinGW

13 years agoMerge branch 'development' of github.com:libgit2/libgit2 into development
Vicent Marti [Tue, 20 Sep 2011 22:10:11 +0000 (01:10 +0300)]
Merge branch 'development' of github.com:libgit2/libgit2 into development

13 years agorefs: fix git_reference_rename()
schu [Tue, 20 Sep 2011 09:11:59 +0000 (11:11 +0200)]
refs: fix git_reference_rename()

reference_rename() recently failed when renaming an existing reference
refs/heads/foo/bar -> refs/heads/foo because of a change in the
underlying functions / error codes. Fixes #412.

Signed-off-by: schu <schu-github@schulog.org>
13 years agorefs: add additional test for reference renaming
schu [Mon, 19 Sep 2011 20:19:59 +0000 (22:19 +0200)]
refs: add additional test for reference renaming

Signed-off-by: nulltoken <emeric.fermas@gmail.com>
Signed-off-by: schu <schu-github@schulog.org>
13 years agorepsitory: use better error code if path is too short for discover
Carlos Martín Nieto [Tue, 20 Sep 2011 08:02:11 +0000 (10:02 +0200)]
repsitory: use better error code if path is too short for discover

GIT_EOVERFLOW means something different. Use GIT_ESHORTBUFFER. On the
way, remove a redundant sizeof(char).

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoFix opendir/readdir and friends on Win32 to use Unicode
Paul Betts [Mon, 19 Sep 2011 19:41:27 +0000 (12:41 -0700)]
Fix opendir/readdir and friends on Win32 to use Unicode

13 years agoRewrite p_* functions to use Unicode and marshal to UTF8 internally
Paul Betts [Mon, 19 Sep 2011 19:36:12 +0000 (12:36 -0700)]
Rewrite p_* functions to use Unicode and marshal to UTF8 internally

13 years agoFix tests to use portable setenv
Paul Betts [Mon, 19 Sep 2011 17:38:44 +0000 (10:38 -0700)]
Fix tests to use portable setenv

13 years agoCreate cross-platform setenv
Paul Betts [Mon, 19 Sep 2011 17:34:52 +0000 (10:34 -0700)]
Create cross-platform setenv

13 years agoFix `repository_config` call in network::remotes
Vicent Marti [Mon, 19 Sep 2011 03:32:56 +0000 (06:32 +0300)]
Fix `repository_config` call in network::remotes

13 years agoFix warning in `status.c`
Vicent Marti [Mon, 19 Sep 2011 03:31:54 +0000 (06:31 +0300)]
Fix warning in `status.c`

13 years agoAdd remotes test to clay
Carlos Martín Nieto [Mon, 12 Sep 2011 23:13:41 +0000 (01:13 +0200)]
Add remotes test to clay

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agoWho makes the magic possible?
Vicent Marti [Mon, 19 Sep 2011 03:14:54 +0000 (06:14 +0300)]
Who makes the magic possible?

13 years agoMerge pull request #384 from kiryl/warnings
Vicent Martí [Mon, 19 Sep 2011 03:07:59 +0000 (20:07 -0700)]
Merge pull request #384 from kiryl/warnings

Add more -W flags to CFLAGS

13 years agoMerge pull request #397 from lambourg/development
Vicent Martí [Mon, 19 Sep 2011 03:00:19 +0000 (20:00 -0700)]
Merge pull request #397 from lambourg/development

Fix compilation issues with mingw64 headers

13 years agoMerge pull request #394 from carlosmn/tree-fromindex
Vicent Martí [Mon, 19 Sep 2011 02:59:34 +0000 (19:59 -0700)]
Merge pull request #394 from carlosmn/tree-fromindex

Use git_treebuilder to write the index as a tree

13 years agoMerge pull request #398 from carlosmn/config-autohome
Vicent Martí [Mon, 19 Sep 2011 02:58:22 +0000 (19:58 -0700)]
Merge pull request #398 from carlosmn/config-autohome

git_repository_config: open global config file automatically

13 years agoMerge pull request #408 from schu/fixup-status
Vicent Martí [Mon, 19 Sep 2011 02:55:48 +0000 (19:55 -0700)]
Merge pull request #408 from schu/fixup-status

Fixup status.c

13 years agoMerge pull request #393 from schu/unused-but-set-variable
Vicent Martí [Mon, 19 Sep 2011 02:54:18 +0000 (19:54 -0700)]
Merge pull request #393 from schu/unused-but-set-variable

filebuf.c: fix unused-but-set warning

13 years agoMerge pull request #392 from sschuberth/development
Vicent Martí [Mon, 19 Sep 2011 02:52:40 +0000 (19:52 -0700)]
Merge pull request #392 from sschuberth/development

Fix a bug and GCC warning introduced in 932669b

13 years agoMerge pull request #400 from boyski/fixup-examples
Vicent Martí [Mon, 19 Sep 2011 02:47:36 +0000 (19:47 -0700)]
Merge pull request #400 from boyski/fixup-examples

Fix up examples code

13 years agoMerge pull request #399 from carlosmn/free-null
Vicent Martí [Mon, 19 Sep 2011 02:46:12 +0000 (19:46 -0700)]
Merge pull request #399 from carlosmn/free-null

Add checks for NULL to the config and remote free functions