Vicent Marti
dec1ac755d
Merge pull request #2049 from ethomson/common
...
Common
2014-01-15 03:17:26 -08:00
Edward Thomson
e85bbd5250
Move libgit2 settings out of util
2014-01-14 18:36:00 -08:00
Edward Thomson
39c2302a95
unnecessary include
2014-01-14 18:36:00 -08:00
Vicent Marti
3c1b3ded12
Merge pull request #2047 from arthurschreiber/arthur/fix-dup-functions
...
Align `*_dup` functions
2014-01-14 12:41:01 -08:00
Vicent Marti
30aebe6334
Merge pull request #2048 from arthurschreiber/arthur/add-git_remote_dup
...
Implement @cmn's suggestions for `git_remote_dup`.
2014-01-14 12:40:30 -08:00
Arthur Schreiber
529f342aba
Align git_tree_entry_dup.
2014-01-14 21:33:59 +01:00
Arthur Schreiber
29be3a6d9e
Align git_signature_dup.
...
This changes git_signature_dup to actually honor oom conditions raised by
the call to git__strdup. It also aligns it with the error code return
pattern used everywhere else.
2014-01-14 21:33:35 +01:00
Arthur Schreiber
99dcb2184a
We don't need memset here.
2014-01-14 21:08:20 +01:00
Arthur Schreiber
616cd13757
Don't duplicate state that's only used when fetching.
2014-01-14 21:08:09 +01:00
Vicent Marti
76c00ead59
Merge pull request #2045 from arthurschreiber/arthur/add-git_remote_dup
...
Add `git_remote_dup`.
2014-01-14 12:03:52 -08:00
Arthur Schreiber
40ef47dd46
Add git_remote_dup
.
2014-01-14 21:03:01 +01:00
Vicent Marti
557bd1f410
Merge pull request #2043 from arthurschreiber/arthur/fix-memory-leaks
...
Fix a bunch of memory leaks.
2014-01-14 10:27:57 -08:00
Vicent Marti
0d5d0ea880
Merge pull request #2004 from ethomson/pack_stream
...
Stream packs to the destination
2014-01-14 10:27:42 -08:00
Arthur Schreiber
249537573b
Incorporate @arrbee's suggestions.
2014-01-14 19:08:58 +01:00
Edward Thomson
52a8a13072
Packbuilder contains its own zstream
2014-01-14 09:45:14 -08:00
Edward Thomson
0ade2f7a59
Packbuilder stream deflate instead of one-shot
2014-01-14 09:45:13 -08:00
Edward Thomson
c6f26b48e4
Refactor zlib for easier deflate streaming
2014-01-14 09:45:12 -08:00
Arthur Schreiber
ac44b3d244
Incorporate @ethomson's suggestions.
2014-01-13 23:28:03 +01:00
Arthur Schreiber
b0b32b4321
Fix a double free issue in git_blame__alloc
.
...
`git_blame_free` already calls `git__free` on `gbr`.
2014-01-13 22:51:10 +01:00
Arthur Schreiber
ddf1b1ffa5
Fix a memory leak in hash_and_save
and inject_object
.
2014-01-13 22:33:10 +01:00
Arthur Schreiber
a8e4cb11fd
Fix a memory leak in config_parse
.
2014-01-13 22:17:07 +01:00
Arthur Schreiber
1234738e06
Fix a memory leak in git_config_iterator_glob_new
.
2014-01-13 22:17:07 +01:00
Arthur Schreiber
63170bcae9
Fix a memory leak in git_pathspec__vinit
.
2014-01-13 22:17:07 +01:00
Vicent Marti
be29dd82e2
Merge pull request #2040 from scunz/cmake_msgs
...
Show informational messages during cmake run as informational
2014-01-13 06:09:51 -08:00
Vicent Marti
9dcd8cee6e
Merge pull request #2039 from brodie/brodie/handle-null-on-free
...
Fix places in public free() functions where NULL pointers aren't handled
2014-01-13 06:09:34 -08:00
Sascha Cunz
86f92b7431
Show informational messages during cmake run as informational
2014-01-13 12:49:54 +00:00
Brodie Rao
2fcc0d07d0
util: handle NULL pointers passed to git_strarray_free()
...
Signed-off-by: Brodie Rao <brodie@sf.io>
2014-01-12 23:34:09 -08:00
Brodie Rao
2ad45213a8
refs: handle NULL pointers passed to git_reference_iterator_free()
...
Signed-off-by: Brodie Rao <brodie@sf.io>
2014-01-12 23:34:05 -08:00
Brodie Rao
32b7e84ec0
oid: handle NULL pointers passed to git_oid_shorten_free()
...
Signed-off-by: Brodie Rao <brodie@sf.io>
2014-01-12 23:34:02 -08:00
Brodie Rao
ae3b6d612d
odb: handle NULL pointers passed to git_odb_stream_free
...
Signed-off-by: Brodie Rao <brodie@sf.io>
2014-01-12 23:33:59 -08:00
Brodie Rao
e3c6a1bf02
config: handle NULL pointers passed to git_config_iterator_free()
...
Signed-off-by: Brodie Rao <brodie@sf.io>
2014-01-12 23:33:56 -08:00
Brodie Rao
9eb45fc51a
branch: handle NULL pointers passed to git_branch_iterator_free()
...
Signed-off-by: Brodie Rao <brodie@sf.io>
2014-01-12 23:33:52 -08:00
Ben Straub
426d8456ea
Merge pull request #2033 from xtao/blame_orig_commit
...
Add orig_commit.
2014-01-08 19:43:31 -08:00
XTao
b92b434f5a
Add orig & final commit test.
2014-01-09 11:18:38 +08:00
Vicent Marti
cc3d961bd9
Merge pull request #2036 from ethomson/git_buf_sanitize
...
Handle git_buf's from users more liberally
2014-01-08 12:48:47 -08:00
Edward Thomson
6adcaab70c
Handle git_buf's from users more liberally
2014-01-08 10:08:23 -08:00
Vicent Marti
32309b5d82
Merge pull request #2034 from jacquesg/solaris-qsort
...
Solaris doesn't have qsort_r either
2014-01-08 04:09:09 -08:00
Jacques Germishuys
551f5cefb4
Solaris does not have qsort_r
2014-01-08 13:47:47 +02:00
XTao
a06474f81d
Add orig_commit.
2014-01-08 11:19:12 +08:00
Vicent Marti
fe959e5273
Merge pull request #2023 from arthurschreiber/patch-1
...
Add missing `git_reference_symbolic_create_with_log`.
2014-01-07 09:58:05 -08:00
nulltoken
5ce9f9b425
Merge pull request #2030 from seejohnrun/patch-1
...
Fix spelling mistake
2014-01-04 15:22:20 -08:00
John Crepezzi
e7f89b46c3
Fix spelling mistake
...
Closes #2029
2014-01-04 18:18:59 -05:00
Russell Belfer
ac9f92316b
Merge pull request #2022 from KTXSoftware/development
...
submodule branch option + little VS2013 fix
2014-01-03 14:40:25 -08:00
Vicent Marti
5f5e44652e
Merge pull request #2026 from libgit2/rb/fix-strnlen-on-old-macos
...
Use our strnlen on MacOS for backward compat
2014-01-03 13:01:14 -08:00
Russell Belfer
b49985212a
Use our strnlen on MacOS for backward compat
...
Apparently MacOS didn't have strnlen on 10.6 and earlier. To
avoid having linking problems on older versions, we'll just use
our internal version.
2014-01-03 11:37:23 -08:00
Russell Belfer
9152417290
Fix warnings with submodule changes
2014-01-02 14:30:24 -08:00
Arthur Schreiber
0b7951788c
Allow the log message to be NULL.
2014-01-02 16:58:13 +01:00
Arthur Schreiber
e5994eb02d
Add missing git_reference_symbolic_create_with_log
.
...
It's exported in the headers, but the implementation was missing.
2014-01-02 16:56:09 +01:00
Robert Konrad
1031197949
Read the submodule branch option from Git 1.8.2.
2014-01-02 15:10:32 +01:00
Robert Konrad
6014b7b59c
Fixed a compile error in VS2013.
2014-01-02 15:10:32 +01:00