libgit2/src
Yury G. Kudryashov 1713653883 Reinit reader pointer after reading included config file
Fixes #2869. If included file includes more files, it may reallocate
cfg_file->readers, hence invalidate not only `r` pointer, but `result`
pointer as well.
2015-02-13 00:15:16 +03:00
..
hash hash_generic: __extension__ keyword for pedantry 2015-02-04 15:26:09 -05:00
transports Plug some leaks 2014-12-29 18:18:49 +02:00
unix Fix segmentation fault observed on OpenBSD/sparc64 2014-11-03 13:49:04 +01:00
win32 Undef stat first 2014-12-29 18:11:33 +02:00
xdiff Spelling fixes 2014-12-04 21:06:59 -06:00
annotated_commit.c s/git_merge_head/git_annotated_commit 2014-10-26 22:59:48 -04:00
annotated_commit.h s/git_merge_head/git_annotated_commit 2014-10-26 22:59:48 -04:00
array.h array: mark the array to grow as volatile 2014-07-25 08:25:41 +02:00
attr_file.c Plug some leaks 2014-12-29 18:18:49 +02:00
attr_file.h ignore: don't leak rules into higher directories 2014-11-06 10:10:26 +01:00
attr.c Style 2014-09-17 15:24:56 +02:00
attr.h Attribute file cache refactor 2014-04-17 14:56:41 -07:00
attrcache.c Merge pull request #2303 from jacquesg/mingw-lseek 2014-05-19 12:20:31 +02:00
attrcache.h Fix broken logic for attr cache invalidation 2014-04-17 15:04:41 -07:00
bitvec.h Address PR comments 2014-02-20 14:27:10 -08:00
blame_git.c Reset num_parents to 1 only for merge commits 2014-02-26 19:25:07 +01:00
blame_git.h Blame: minor cleanup 2013-09-25 14:40:19 -07:00
blame.c Several CppCat warnings fixed 2014-09-03 01:01:25 +04:00
blame.h Improve GIT_EUSER handling 2013-12-11 10:57:49 -08:00
blob.c Increase binary detection len to 8k 2014-05-16 11:08:19 -07:00
blob.h Fix rename detection to use actual blob size 2013-07-25 12:27:39 -07:00
branch.c branch: consider an empty upstream remote config as not found 2014-11-17 14:28:22 +01:00
branch.h branch: rename 'tracking' to 'upstream' 2013-03-30 15:45:57 +01:00
buf_text.c Make binary detection work similar to vanilla git 2015-01-20 16:17:37 -06:00
buf_text.h Just put it all in buffer. 2014-07-16 13:34:25 -07:00
buffer.c Fix crash in free() when git_buf_grow() fails. 2015-01-09 16:46:44 +01:00
buffer.h Introduce git_buf_decode_base64 2014-08-15 11:12:42 -04:00
cache.c Refactor git_cache to use an rwlock 2014-08-26 15:12:43 -07:00
cache.h Refactor git_cache to use an rwlock 2014-08-26 15:12:43 -07:00
cc-compat.h There is no "z" size specifier on MSVC 2014-10-13 16:32:26 +02:00
checkout.c checkout: free last created directory 2015-01-23 00:19:11 +00:00
checkout.h iterator: submodules are determined by an index or tree 2014-11-07 08:33:27 +01:00
cherrypick.c git_cherry_pick -> git_cherrypick 2014-07-22 10:40:23 -04:00
clone.c remote: allow overriding the refspecs for download and fetch 2014-09-30 15:42:32 +02:00
clone.h clone: add flags to override whether to perform a local clone 2014-05-28 15:40:22 +02:00
commit_list.c Spelling fixes 2014-12-04 21:06:59 -06:00
commit_list.h Move un-namespaced constant to internal header 2014-10-10 15:17:05 -07:00
commit.c git_rebase_commit: write HEAD's reflog appropriately 2014-10-26 22:59:27 -04:00
commit.h Introduce git_revert to revert a single commit 2013-12-02 16:57:41 -06:00
common.h bswap: remove unused bswap 2015-02-03 18:43:57 -05:00
config_cache.c Introduce core.protectHFS and core.protectNTFS 2014-12-17 12:52:07 -05:00
config_file.c Reinit reader pointer after reading included config file 2015-02-13 00:15:16 +03:00
config_file.h Make submodule refresh a bit smarter 2014-04-01 09:48:37 -07:00
config.c config: add parsing and getter for paths 2015-01-14 19:36:50 +01:00
config.h Increase use of config snapshots 2014-05-13 16:32:27 -07:00
crlf.c Check for OOM 2014-12-30 12:33:40 +02:00
date.c Introduce git__date_rfc2822_fmt. Allows for RFC2822 date headers 2014-04-11 21:55:35 +02:00
delta-apply.c update copyrights 2013-01-08 17:31:27 -06:00
delta-apply.h update copyrights 2013-01-08 17:31:27 -06:00
delta.c Fixed left shift size of int. 2013-12-08 01:50:10 -08:00
delta.h Fix warnings on Win64 build 2012-11-27 13:18:29 -08:00
describe.c Plug some leaks 2014-12-29 18:18:49 +02:00
diff_driver.c Increase binary detection len to 8k 2014-05-16 11:08:19 -07:00
diff_driver.h Initial take on builtin drivers with multiline 2014-01-24 10:43:05 -08:00
diff_file.c Start adding GIT_DELTA_UNREADABLE and GIT_STATUS_WT_UNREADABLE. 2014-05-20 23:57:40 +10:00
diff_file.h Add buffer to buffer diff and patch APIs 2014-02-27 14:13:22 -08:00
diff_patch.c Ensure the diff hunk callback is specified before trying to dereference it 2015-01-25 14:40:23 +02:00
diff_patch.h Rename diff objects and split patch.h 2013-10-11 14:51:54 -07:00
diff_print.c Introduce git_buf_decode_base64 2014-08-15 11:12:42 -04:00
diff_stats.c Don't scale diff stat when not needed 2014-05-12 10:28:45 -07:00
diff_tform.c Added GIT_HASHSIG_ALLOW_SMALL_FILES to allow computing signatures for small files 2015-01-14 10:17:56 -06:00
diff_xdiff.c Remove converting user error to GIT_EUSER 2013-12-11 10:57:49 -08:00
diff_xdiff.h Reorganize diff and add basic diff driver 2013-06-10 10:10:39 -07:00
diff.c Added missing error handling path 2014-12-30 12:33:40 +02:00
diff.h Remove trace / add git_diff_perfdata struct + api 2014-05-02 09:21:33 -07:00
errors.c Allow NULL error message prefix when class=GITERR_OS 2014-08-13 14:55:24 -04:00
fetch.c Changed GIT_REMOTE_DOWNLOAD_TAGS_ALL to behave like git 1.9.0 2014-11-09 07:27:30 +09:00
fetch.h Don't redefine the same callback types, their signatures may change 2014-04-21 11:28:49 +02:00
fetchhead.c fetchhead: deal with quotes in branch names 2014-04-24 14:08:29 +02:00
fetchhead.h Join typedef and struct definitions in single file. 2014-09-24 11:00:51 +02:00
filebuf.c filebuf: make unlocking atomic 2014-06-04 11:58:18 -07:00
filebuf.h Join typedef and struct definitions in single file. 2014-09-24 11:00:51 +02:00
fileops.c checkout: remove files before writing new ones 2015-01-20 17:13:31 -06:00
fileops.h checkout: remove files before writing new ones 2015-01-20 17:13:31 -06:00
filter.c git_filter: dup the filter name 2014-10-09 14:54:48 -04:00
filter.h Increase binary detection len to 8k 2014-05-16 11:08:19 -07:00
fnmatch.c Restore attributions for fnmatch 2014-05-19 14:39:45 +01:00
fnmatch.h Restore attributions for fnmatch 2014-05-19 14:39:45 +01:00
global.c global: include sys/openssl.h for GIT_EXPORT of fn 2014-12-23 16:40:01 -06:00
global.h Factor 40 and 41 constants from source. 2014-09-16 13:07:04 +02:00
graph.c graph: fix ahead-behind logic 2014-08-28 13:36:58 +02:00
hash.c update copyrights 2013-01-08 17:31:27 -06:00
hash.h hash: use CommonCrypto on OSX for SHA-1 2014-10-24 13:31:18 +02:00
hashsig.c Added GIT_HASHSIG_ALLOW_SMALL_FILES to allow computing signatures for small files 2015-01-14 10:17:56 -06:00
ident.c Check for OOM 2014-12-30 12:33:40 +02:00
ignore.c ignore: match git's rule negation rules 2014-12-05 20:13:24 +01:00
ignore.h Improve checks for ignore containment 2014-05-06 12:41:26 -07:00
index.c Ensure git_index_entry is not NULL before trying to free it 2015-01-25 14:08:05 +02:00
index.h tree-cache: move to use a pool allocator 2014-10-10 19:35:18 +02:00
indexer.c win32: remember to cleanup our hash_ctx 2014-12-09 12:04:47 -05:00
iterator.c Plug leaks 2014-11-23 15:51:31 +01:00
iterator.h iterator: submodules are determined by an index or tree 2014-11-07 08:33:27 +01:00
khash.h
map.h Fix compiler warning (git_off_t cast to size_t). 2014-05-19 17:37:29 -07:00
merge_file.c Cleanups 2014-03-31 13:31:01 -07:00
merge_file.h Introduce git_merge_file for consumers 2014-03-20 09:25:05 -07:00
merge.c Merge branch 'pr/2740' 2015-01-14 10:19:28 -06:00
merge.h s/git_merge_head/git_annotated_commit 2014-10-26 22:59:48 -04:00
message.c message: don't assume the comment char 2014-05-18 10:06:49 +02:00
message.h update copyrights 2013-01-08 17:31:27 -06:00
mwindow.c mwindow: clean up pack map at shutdown 2014-10-26 22:27:56 -04:00
mwindow.h pack: clean up error returns 2014-06-25 21:35:58 +02:00
netops.c gitno: remove code which is no longer needed 2014-12-10 01:39:09 +01:00
netops.h gitno: remove code which is no longer needed 2014-12-10 01:39:09 +01:00
notes.c treebuilder: rename _create() to _new() 2014-12-27 12:09:11 +00:00
notes.h Introduce git_note_author, git_note_committer 2014-10-26 22:59:29 -04:00
object_api.c object: haha 2013-04-30 13:19:02 +02:00
object.c peel: reject bad queries with EINVALIDSPEC 2014-11-22 18:55:22 +01:00
object.h object: Explicitly define helper API methods for all obj types 2013-04-30 13:13:38 +02:00
odb_loose.c Spelling fixes 2014-12-04 21:06:59 -06:00
odb_mempack.c In-memory packing backend 2014-03-26 18:17:08 +01:00
odb_pack.c Share packs across repository instances 2014-06-23 21:50:36 +02:00
odb.c win32: remember to cleanup our hash_ctx 2014-12-09 12:04:47 -05:00
odb.h Create public filter object and use it 2013-09-17 09:30:06 -07:00
offmap.h pack: introduce a delta base cache 2013-01-11 16:55:37 +01:00
oid.c Removed some useless variable assignments 2014-10-27 09:19:07 -07:00
oid.h oid: Export git_oid_tostr_s instead of _allocfmt 2014-08-18 12:41:06 +02:00
oidarray.c merge: expose multiple merge bases 2014-07-27 17:17:22 +02:00
oidarray.h merge: expose multiple merge bases 2014-07-27 17:17:22 +02:00
oidmap.h object: introduce git_describe_object() 2014-04-30 09:46:25 +02:00
openssl_stream.c openssl: Add all required includes for AF_INET6 and in6_addr. 2015-01-24 16:19:43 +02:00
openssl_stream.h Add an OpenSSL IO stream 2014-12-10 01:17:41 +01:00
pack-objects.c Win32: Fix object::cache::threadmania test on x64 2014-06-07 12:51:48 -04:00
pack-objects.h Packbuilder contains its own zstream 2014-01-14 09:45:14 -08:00
pack.c Plug some leaks 2014-12-29 18:18:49 +02:00
pack.h Share packs across repository instances 2014-06-23 21:50:36 +02:00
path.c git_path_join_unrooted: return base len 2015-01-20 17:12:35 -06:00
path.h git_path_join_unrooted: return base len 2015-01-20 17:12:35 -06:00
pathspec.c Merge pull request #2847 from jacquesg/coverity 2015-01-26 11:24:47 -06:00
pathspec.h Add git_pathspec_match_diff API 2013-07-10 20:50:33 +02:00
pool.c Treat a NULL string as if it's empty 2015-01-20 23:26:55 +02:00
pool.h Fix compiler warning (git_off_t cast to size_t). 2014-05-19 17:37:29 -07:00
posix.c Merge commit 'refs/pull/2366/head' of github.com:libgit2/libgit2 2014-10-27 10:39:45 +01:00
posix.h Merge commit 'refs/pull/2366/head' of github.com:libgit2/libgit2 2014-10-27 10:39:45 +01:00
pqueue.c Fix pqueue sort boundary condition bug 2014-03-12 11:21:55 -07:00
pqueue.h Convert pqueue to just be a git_vector 2014-02-04 10:01:37 -08:00
push.c push: fold unpack_ok() into finish() 2014-12-10 18:55:54 +01:00
push.h remote: remove git_push from the public API 2014-12-30 17:02:50 +00:00
rebase.c Check the result of git_buf_joinpath 2014-12-30 12:33:39 +02:00
refdb_fs.c reference_create: validate loose names 2014-12-16 10:08:56 -06:00
refdb_fs.h immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
refdb.c Introduce reference transactions 2014-09-30 15:44:32 +02:00
refdb.h Introduce reference transactions 2014-09-30 15:44:32 +02:00
reflog.c reflog: constify byindex 2014-09-30 15:44:32 +02:00
reflog.h reflog: move the reflog implementation into refdb_fs 2013-10-02 06:53:24 +02:00
refs.c git_rebase_commit: write HEAD's reflog appropriately 2014-10-26 22:59:27 -04:00
refs.h git_rebase_commit: write HEAD's reflog appropriately 2014-10-26 22:59:27 -04:00
refspec.c push: use the common refspec parser 2014-11-09 16:07:43 +01:00
refspec.h refspec: git_refspec_parse() does not exist 2014-04-01 20:18:36 +02:00
remote.c remote: plug leak 2015-01-08 13:45:22 -06:00
remote.h Merge pull request #2761 from libgit2/cmn/fetch-prune 2014-12-30 11:53:55 -06:00
repo_template.h Make mode handling during init more like git 2013-02-27 13:44:15 -08:00
repository.c repository: parse init.templatedir as a path 2015-02-06 01:09:26 +01:00
repository.h Introduce core.protectHFS and core.protectNTFS 2014-12-17 12:52:07 -05:00
reset.c git_reset: const the git_signature arg 2014-10-26 22:59:10 -04:00
revert.c git_checkout_index: checkout other indexes 2014-07-01 17:32:15 -04:00
revparse.c reflog: Error handling on empty reflog 2014-09-05 03:25:53 +02:00
revwalk.c peel: reject bad queries with EINVALIDSPEC 2014-11-22 18:55:22 +01:00
revwalk.h revwalk: catch no-push and no-hide cases 2014-10-08 17:14:48 +02:00
settings.c Add support for setting the SSL CA location 2014-09-30 17:26:39 -07:00
sha1_lookup.c Backport @peff's fix for duplicates in sha1_lookup 2013-09-04 13:16:57 +02:00
sha1_lookup.h sha1_lookup: do not use the "experimental" lookup mode 2013-08-14 10:28:01 +02:00
signature.c Introduce git_rebase_commit 2014-10-26 22:59:19 -04:00
signature.h Introduce git_rebase_commit 2014-10-26 22:59:19 -04:00
socket_stream.c stream: constify the write buffer 2014-12-10 16:20:52 +01:00
socket_stream.h Add an OpenSSL IO stream 2014-12-10 01:17:41 +01:00
sortedcache.c Attribute file cache refactor 2014-04-17 14:56:41 -07:00
sortedcache.h Add stddef include for sortedcache 2013-08-28 11:20:47 -07:00
stash.c transaction: rename lock() to lock_ref() 2014-10-09 16:29:30 +02:00
status.c git_status_file now takes an exact path 2014-11-07 21:34:54 +02:00
status.h Rename diff objects and split patch.h 2013-10-11 14:51:54 -07:00
stream.h Fix a couple of compiler warnings 2014-12-10 16:22:50 +01:00
strmap.c config: get rid of a useless asignment 2013-08-12 11:40:57 +02:00
strmap.h Add diff threading tests and attr file cache locks 2014-04-17 14:43:45 -07:00
strnlen.h strnlen() is only available from Visual Studio 2005+ 2014-07-06 09:22:24 +02:00
submodule.c Add extern function to initialize submodule update options. 2015-01-07 09:04:49 -06:00
submodule.h Make submodule refresh a bit smarter 2014-04-01 09:48:37 -07:00
sysdir.c Fix the issues in git__on_shutdown 2014-05-06 12:16:24 -07:00
sysdir.h Move system directory cache out of utils 2014-02-24 17:52:38 -08:00
tag.c Spelling fixes 2014-12-04 21:06:59 -06:00
tag.h Simplify object table parse functions 2013-04-22 16:52:06 +02:00
thread-utils.c update copyrights 2013-01-08 17:31:27 -06:00
thread-utils.h Clean up various compiler warnings 2014-10-26 22:13:40 -04:00
trace.c Remove trace / add git_diff_perfdata struct + api 2014-05-02 09:21:33 -07:00
trace.h Variadic macros is only available from Visual Studio 2005+ 2014-07-06 09:22:24 +02:00
transaction.c Clean up various compiler warnings 2014-10-26 22:13:40 -04:00
transport.c remote: delete git_remote_supported_url() 2014-10-24 13:40:42 +02:00
tree-cache.c tree-cache: correct the entry_count calculation 2014-10-22 21:25:08 +02:00
tree-cache.h index: write out the tree cache extension 2014-10-10 19:43:42 +02:00
tree.c treebuilder: rename _create() to _new() 2014-12-27 12:09:11 +00:00
tree.h treebuilder: take a repository for path validation 2014-12-17 13:05:27 -05:00
tsort.c Sorting function cleanup and MinGW fix 2013-03-11 16:43:58 -07:00
userdiff.h Update the javascript diff driver's function pattern. 2014-10-09 22:21:34 +02:00
util.c path: Use UTF8 iteration for HFS chars 2014-12-16 10:24:18 -06:00
util.h Remove strlen() calls from loop condition 2015-01-15 15:16:19 +02:00
vector.c Decouple index iterator sort from index 2014-04-17 14:43:45 -07:00
vector.h Some vector utility tweaks 2014-04-17 14:43:45 -07:00
zstream.c zstream: grow based on used memory rather than allocated 2014-04-26 18:04:43 +02:00
zstream.h Reorganize zstream API and fix wrap problems 2014-01-30 09:59:59 -08:00