nulltoken
b1a3a70ed1
repository: Refine repository_head() error report
2012-11-12 00:14:51 +01:00
nulltoken
ef8871515b
Fix compilation warning
2012-11-12 00:13:02 +01:00
Edward Thomson
e090a5681b
Merge pull request #1010 from ethomson/fetch_head
...
create FETCH_HEAD specially instead of as a ref file
2012-11-11 10:01:11 -08:00
Edward Thomson
b0f6e45d14
create FETCH_HEAD specially instead of as a ref file
2012-11-11 11:56:33 -06:00
Vicent Martí
d18713fb4a
Merge pull request #1056 from nulltoken/duplicate-tree-entries
...
Duplicate tree entries
2012-11-10 20:24:53 -08:00
Vicent Martí
29c16698b2
Merge pull request #1060 from nulltoken/topic/explicit-index-errors
...
Topic/explicit index errors
2012-11-10 20:24:23 -08:00
nulltoken
95d73de15f
index: prefer INDEX_OWNER usage
2012-11-10 21:10:49 +01:00
nulltoken
33f95a9b32
index: refine add_from_workdir() error report
2012-11-10 21:01:05 +01:00
nulltoken
69c068c79f
index: make git_index_new() work with a NULL path
2012-11-10 20:42:45 +01:00
nulltoken
353e991679
tests: Add missing assertions
2012-11-10 16:43:05 +01:00
Vicent Martí
8a328cf442
Merge pull request #1058 from pwkelley/development
...
Fixes for two segfaults
2012-11-09 13:19:32 -08:00
Vicent Martí
39d7cf60de
Merge pull request #1059 from nulltoken/fix/config-open-level
...
config: make git_config_open_level() work with an empty config
2012-11-09 13:15:57 -08:00
Philip Kelley
fcd03bebbf
Fix a mutex/critical section leak
2012-11-09 15:57:32 -05:00
nulltoken
55f9837f11
config: make git_config_open_level() work with an empty config
2012-11-09 21:49:50 +01:00
Philip Kelley
2f683f0097
Fix uninitialized memory in winhttp subtransport on 64-bit
2012-11-09 15:39:25 -05:00
Philip Kelley
2364735c8f
Fix implementation of strndup to not overrun
2012-11-09 15:39:10 -05:00
nulltoken
f92bcaea49
index: prevent tree creation from a non merged state
...
Fix libgit2/libgit2sharp#243
2012-11-09 16:45:47 +01:00
Vicent Martí
0f674411e9
Merge pull request #1052 from delanne/invalid_read
...
Valgrind reports Invalid Read when the configuration file contains some empty line
2012-11-09 06:16:44 -08:00
Vicent Martí
4d062d257b
Merge pull request #1057 from bts/patch-1
...
Update documentation in remote.h
2012-11-09 06:15:37 -08:00
Brian Schroeder
b0b8065880
Update documentation in remote.h
2012-11-08 21:28:15 -08:00
nulltoken
7cc1bf0fcb
index: Introduce git_index_has_conflicts()
2012-11-08 21:16:48 +01:00
nulltoken
29cc374d2e
tree: enforce coverage of silent entry replacement
2012-11-08 21:16:45 +01:00
Philip Kelley
9d64128325
Merge pull request #1048 from pwkelley/basic_auth
...
Basic authentication for http and winhttp
2012-11-08 08:06:23 -08:00
delanne
bcad677ba8
- Update 'tests-clar/resources/config/config11' in order to reproduce the invalidread with the unittest (just added some \n at the end of the file)
...
- Fix config_file.c
2012-11-08 12:28:21 +01:00
Vicent Martí
8ff2b0c759
Merge pull request #1039 from erikvanzijst/erik/tag_without_message
...
Correctly parse tags lacking a description
2012-11-07 16:30:55 -08:00
Ben Straub
721571cc5e
Merge pull request #1050 from edubart/development
...
Fix compilation for mingw32 and cygwin
2012-11-07 12:58:54 -08:00
Eduardo Bart
345eef2374
Move inet_pton to posix platform-compatibility layer
2012-11-07 16:15:09 -02:00
Eduardo Bart
d1a69d0fff
Fix compilation for mingw32 and cygwin
...
inet_pton is available only in windows vista or later,
fixed the issue by reimplementing it using WSAStringToAddress
2012-11-06 20:22:11 -02:00
Philip Kelley
11fa847283
Don't store no_check_cert; fetch it on demand
2012-11-06 11:27:23 -05:00
Philip Kelley
8a85378829
Merge pull request #1025 from ethomson/fetchodb
...
fetch: Write packs to the ODB instead of directly to disk
2012-11-06 07:32:29 -08:00
Philip Kelley
2f7538ec00
Fix connection leak in http subtransport
2012-11-06 09:36:04 -05:00
Philip Kelley
091361f569
Basic authentication for http and winhttp
2012-11-06 08:52:03 -05:00
Edward Thomson
09cc0b92dc
create callback to handle packs from fetch, move the indexer to odb_pack
2012-11-05 16:00:29 -06:00
Russell Belfer
a5e85d86b7
Merge pull request #1046 from libgit2/empty-remote-url-crash
...
Bail out of remote loading if the URL would be NULL
2012-11-05 11:06:50 -08:00
Justin Spahr-Summers
c1cd036e40
'geterr' -> 'giterr'
2012-11-05 11:01:00 -08:00
Justin Spahr-Summers
6edefa1491
Revert "Don't expect the 'empty-remote-url' remote to be listed"
...
Apparently git_remote_list() includes even remotes for which git_remote_load() would fail. Sorry @nulltoken, false alarm.
This reverts commit f358ec143c
.
2012-11-05 10:58:13 -08:00
Justin Spahr-Summers
f358ec143c
Don't expect the 'empty-remote-url' remote to be listed
...
CC @nulltoken
2012-11-05 10:45:26 -08:00
Justin Spahr-Summers
1fe99aeea3
Test for GITERR_INVALID
2012-11-05 10:44:48 -08:00
Russell Belfer
065be7a1d9
Merge pull request #1044 from dahlbyk/repo/state
...
Fix state when HEAD is not detached
2012-11-05 10:44:21 -08:00
Justin Spahr-Summers
f8baece754
Set GITERR_INVALID when encountering a NULL remote URL
2012-11-05 10:42:10 -08:00
Vicent Martí
942a76983b
Merge pull request #1034 from carlosmn/packbuilder-foreach
...
Let the user grab the packfile as it's being written
2012-11-05 06:54:34 -08:00
nulltoken
a2a618948c
remote: Add malformed remote load test
2012-11-04 23:08:17 -08:00
Justin Spahr-Summers
83885891f5
Bail out if remote->url would be NULL
...
This fixes a crash from attempting to invoke git__strdup() against NULL.
2012-11-04 22:01:24 -08:00
Keith Dahlby
221ee54b8c
Fix Clar link
2012-11-04 21:24:14 -06:00
Keith Dahlby
35d255fda6
repo: fix state when HEAD is not detached
2012-11-04 12:13:42 -06:00
Philip Kelley
1e99ce9ac7
Merge pull request #1042 from pwkelley/progress_cb
...
Fix bytes_received in fetch tests - we weren't calling the callback
2012-11-02 11:42:45 -07:00
Philip Kelley
438906e160
Fix bytes_received in fetch tests - we weren't calling the callback
2012-11-02 14:34:06 -04:00
Russell Belfer
3ae0aad75a
Move error capture to top of giterr_set
2012-11-02 10:42:20 -07:00
Erik van Zijst
6bb9fea13e
tags: Fixed the tag parser to correctly treat the message field as optional.
...
This fix makes libgit2 capable of parsing annotated tag objects that lack
the optional message/description field.
Previously, libgit2 treated this field as mandatory and raised a tag_error on
such tags. However, the message field is optional.
An example of such a tag is refs/tags/v2.6.16.31-rc1 in Linux:
$ git cat-file tag refs/tags/v2.6.16.31-rc1
object afaa018cefb6af63befef1df7d8febaae904434f
type commit
tag v2.6.16.31-rc1
tagger Adrian Bunk <bunk@stusta.de> 1162716505 +0100
$
2012-11-02 10:28:17 -07:00
Vicent Martí
1362a98316
Merge pull request #1014 from arrbee/diff-rename-detection
...
Initial implementation of diff rename detection
2012-11-02 10:00:28 -07:00