libgit2/src
Edward Thomson 5135ddaac6 Introduce git_sysdir_expand_global_file
Provide a mechanism for callers to expand the full path of a file in the
global configuration directory (that is to say, the home directory) even
if the file doesn't necessarily exist.  This lets callers use their own
logic for building paths separate from handling file existence.
2017-03-23 12:12:39 +00:00
..
hash hash: include sha1collisiondetection 2017-03-03 10:50:27 +00:00
transports winhttp: disambiguate error messages when sending requests 2017-03-01 07:58:40 +01:00
unix odb_loose: fsync tests 2017-02-28 13:27:49 +00:00
win32 odb_loose: fsync tests 2017-02-28 13:27:49 +00:00
xdiff leaks: call xdl_free_classifier 2016-03-31 10:43:57 -04:00
annotated_commit.c annotated_commit: provide refs and description 2016-04-26 13:19:58 -04:00
annotated_commit.h annotated_commit: provide refs and description 2016-04-26 13:19:58 -04:00
apply.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
apply.h Introduce git_apply_patch 2016-05-26 11:36:11 -05:00
array.h Introduce git_apply_patch 2016-05-26 11:36:11 -05:00
attr_file.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
attr_file.h repository: use git_repository_item_path 2017-02-13 10:28:15 +01:00
attr.c strmap: remove GIT__USE_STRMAP macro 2017-02-17 11:41:06 +01:00
attr.h Attribute file cache refactor 2014-04-17 14:56:41 -07:00
attrcache.c attrcache: remove useless do_init indirection 2017-02-21 16:17:36 +01:00
attrcache.h attrcache: remove useless do_init indirection 2017-02-21 16:17:36 +01:00
bitvec.h
blame_git.c blame_git: check return value of object lookup 2017-03-21 15:48:15 +01:00
blame_git.h blame: guard xdiff calls for large files 2015-10-05 22:59:53 +02:00
blame.c blame: handle error when resoling HEAD in normalize_options 2016-03-11 14:20:15 +01:00
blame.h blame: use size_t for line counts in git_blame__entry 2015-12-01 09:02:47 +01:00
blob.c repository: use git_repository_item_path 2017-02-13 10:28:15 +01:00
blob.h
branch.c branch: restrict branch deletion for worktrees 2017-02-13 11:05:57 +01:00
branch.h
buf_text.c git_buf_text_lf_to_crlf: allow mixed line endings 2015-06-22 12:00:23 -04:00
buf_text.h git_buf_text_lf_to_crlf: allow mixed line endings 2015-06-22 12:00:23 -04:00
buffer.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
buffer.h buffer: clarify how git_buf_sanitize handles non-NULL input 2017-02-13 13:31:37 +01:00
cache.c oidmap: remove GIT__USE_OIDMAP macro 2017-02-17 11:41:06 +01:00
cache.h khash: avoid using kh_size directly 2017-02-17 11:41:06 +01:00
cc-compat.h There is no "z" size specifier on MSVC 2014-10-13 16:32:26 +02:00
checkout.c checkout: fix double-free of checkout_data's mkdir_map 2017-03-20 08:59:30 +01:00
checkout.h iterator: submodules are determined by an index or tree 2014-11-07 08:33:27 +01:00
cherrypick.c repository: rename path_repository and path_gitlink 2017-02-13 11:07:52 +01:00
clone.c repository: use git_repository_item_path 2017-02-13 10:28:15 +01: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 giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
commit_list.h revwalk: get closer to git 2016-10-06 11:04:55 +02:00
commit.c git_commit_create: freshen tree objects in commit 2017-03-03 14:12:00 +00:00
commit.h commit: introduce git_commit_body 2015-12-01 10:07:00 +01:00
common.h giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
config_cache.c Honor core.fsyncObjectFiles 2017-03-02 09:11:33 +00:00
config_file.c fix error when including a missing config file relative to the home directory 2017-03-23 12:12:38 +00:00
config_file.h config: implement basic transactional support 2015-08-12 04:09:09 +02:00
config.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
config.h config: add a ProgramData level 2015-10-21 15:11:18 +02:00
crlf.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
curl_stream.c curl_stream: use CURLINFO_ACTIVESOCKET if curl is recent enough 2016-11-15 09:12:40 +01:00
curl_stream.h curl: remove the encrypted param to the constructor 2015-06-24 17:26:36 +02:00
date.c
delta.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
delta.h delta: refactor git_delta functions for consistency 2016-05-26 13:01:03 -05:00
describe.c oidmap: remove GIT__USE_OIDMAP macro 2017-02-17 11:41:06 +01:00
diff_driver.c strmap: remove GIT__USE_STRMAP macro 2017-02-17 11:41:06 +01:00
diff_driver.h
diff_file.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
diff_file.h diff: introduce binary diff callbacks 2015-06-12 09:39:20 -04:00
diff_generate.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
diff_generate.h git_diff_generated: abstract generated diffs 2016-05-26 13:01:08 -05:00
diff_parse.c diff_parse: check return value of git_diff_init_options 2017-03-21 15:48:16 +01:00
diff_parse.h Teach git_patch_from_diff about parsed diffs 2016-08-24 09:08:57 -05:00
diff_print.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
diff_stats.c Merge branch 'pr/3809' 2016-10-09 16:05:48 +01:00
diff_tform.c diff: don't do rename detection on submodules 2017-02-09 22:35:09 +00:00
diff_tform.h git_diff_generated: abstract generated diffs 2016-05-26 13:01:08 -05:00
diff_xdiff.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
diff_xdiff.h patch: patch_diff -> patch_generated 2016-05-26 13:01:08 -05:00
diff.c patch_generate: move git_diff_foreach to diff.c 2017-03-14 13:08:51 +01:00
diff.h Teach git_patch_from_diff about parsed diffs 2016-08-24 09:08:57 -05:00
errors.c errors: tighten up git_error_state OOMs a bit more 2015-08-03 19:44:51 -04:00
fetch.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
fetch.h Fix #3093 - remove declaration of unused function git_fetch__download_pack 2015-06-30 16:48:47 -04:00
fetchhead.c repository: rename path_repository and path_gitlink 2017-02-13 11:07:52 +01:00
fetchhead.h Join typedef and struct definitions in single file. 2014-09-24 11:00:51 +02:00
filebuf.c Merge pull request #4030 from libgit2/ethomson/fsync 2017-03-22 20:29:22 +00:00
filebuf.h git_filebuf: optionally fsync when committing 2017-02-28 13:27:49 +00:00
fileops.c Merge pull request #4030 from libgit2/ethomson/fsync 2017-03-22 20:29:22 +00:00
fileops.h fsync parent directories when fsyncing 2017-02-28 13:28:36 +00:00
filter.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
filter.h filter: avoid races during filter registration 2016-02-08 16:31:42 -08:00
fnmatch.c ignore: move star-star matching closer to it use 2016-04-19 19:39:06 +02:00
fnmatch.h Restore attributions for fnmatch 2014-05-19 14:39:45 +01:00
global.c global: reset global state on shutdown without threading 2016-11-02 08:53:52 +01:00
global.h threads: introduce git_thread_exit 2016-11-18 07:34:09 -05:00
graph.c graph: flag fields should be declared as unsigned 2016-12-12 09:16:33 +01:00
hash.c
hash.h hash: include sha1collisiondetection 2017-03-03 10:50:27 +00:00
hashsig.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
ident.c Fix ident replacement to match Git behavior 2015-05-26 19:56:06 +02:00
idxmap.c map: remove *map_free macros 2017-03-20 09:01:18 +01:00
idxmap.h map: remove *map_free macros 2017-03-20 09:01:18 +01:00
ignore.c repository: use git_repository_item_path 2017-02-13 10:28:15 +01:00
ignore.h repository: use git_repository_item_path 2017-02-13 10:28:15 +01:00
index.c idxmap: remove GIT__USE_IDXMAP 2017-02-17 11:41:06 +01:00
index.h index: support index v4 2016-08-10 14:19:30 -04:00
indexer.c Honor core.fsyncObjectFiles 2017-03-02 09:11:33 +00:00
indexer.h Honor core.fsyncObjectFiles 2017-03-02 09:11:33 +00:00
integer.h mac: on 32 bit, use __builtin_umull_overflow 2017-01-23 22:29:58 +00:00
iterator.c common: use PRIuZ for size_t in giterr_set calls 2016-11-14 10:05:59 +01:00
iterator.h iterator: cleanups 2016-03-24 15:59:49 -04:00
khash.h khash: add eol so picky compilers stop warning 2015-07-10 09:53:31 -05:00
map.h Fix compiler warning (git_off_t cast to size_t). 2014-05-19 17:37:29 -07:00
merge_driver.c merge_driver: fix const-correctness for source getters 2017-03-15 11:46:15 +01:00
merge_driver.h merge driver: remove check callback 2016-03-17 11:06:00 -04:00
merge_file.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
merge.c Merge branch 'pr/3957' 2017-03-23 09:49:09 +00:00
merge.h merge driver: remove check callback 2016-03-17 11:06:00 -04:00
message.c message: don't assume the comment char 2014-05-18 10:06:49 +02:00
message.h
mwindow.c strmap: remove GIT__USE_STRMAP macro 2017-02-17 11:41:06 +01:00
mwindow.h mwindow: init mwindow files in git_libgit2_init 2016-08-04 10:30:48 -04:00
netops.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
netops.h Drop extra_http_headers from git_remote 2015-09-08 14:01:57 -04:00
notes.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
notes.h Introduce git_note_author, git_note_committer 2014-10-26 22:59:29 -04:00
object_api.c git_object_dup: introduce typesafe versions 2016-03-23 17:08:37 -04:00
object.c fsync: call it "synchronous" object writing 2017-02-28 13:29:01 +00:00
object.h fsync: call it "synchronous" object writing 2017-02-28 13:29:01 +00:00
odb_loose.c fsync: call it "synchronous" object writing 2017-02-28 13:29:01 +00:00
odb_mempack.c oidmap: remove GIT__USE_OIDMAP macro 2017-02-17 11:41:06 +01:00
odb_pack.c odb_pack: initialize git_rawobj structure 2017-03-21 15:48:15 +01:00
odb.c Merge pull request #4030 from libgit2/ethomson/fsync 2017-03-22 20:29:22 +00:00
odb.h Merge pull request #4030 from libgit2/ethomson/fsync 2017-03-22 20:29:22 +00:00
offmap.c map: remove *map_free macros 2017-03-20 09:01:18 +01:00
offmap.h map: remove *map_free macros 2017-03-20 09:01:18 +01:00
oid.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
oid.h git_odb_exists_many_prefixes: query odb for multiple short ids 2016-03-07 16:10:25 -05: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.c map: remove *map_free macros 2017-03-20 09:01:18 +01:00
oidmap.h map: remove *map_free macros 2017-03-20 09:01:18 +01:00
openssl_stream.c openssl_stream: fix releasing OpenSSL locks 2017-03-20 12:36:14 +01:00
openssl_stream.h Fix BIO_* functions method linking when compiled with libressl. 2016-12-24 17:43:08 +07:00
pack-objects.c Honor core.fsyncObjectFiles 2017-03-02 09:11:33 +00:00
pack-objects.h Honor core.fsyncObjectFiles 2017-03-02 09:11:33 +00:00
pack.c pack: fix looping over cache entries 2017-02-22 09:29:00 -07:00
pack.h indexer: introduce git_packfile_close 2017-01-21 15:21:29 -05:00
patch_generate.c patch_generate: move git_diff_foreach to diff.c 2017-03-14 13:08:51 +01:00
patch_generate.h Teach git_patch_from_diff about parsed diffs 2016-08-24 09:08:57 -05:00
patch_parse.c patch_parse: check if advancing over header newline succeeds 2017-03-21 15:48:16 +01:00
patch_parse.h Teach git_patch_from_diff about parsed diffs 2016-08-24 09:08:57 -05:00
patch.c patch: error on diff callback failure 2016-09-02 11:22:33 -05:00
patch.h git_patch_parse_ctx: refcount the context 2016-05-26 13:01:08 -05:00
path.c path: ensure dirname on Win32 prefix always has a trailing '/' 2017-02-08 12:05:47 +01:00
path.h Patch parsing from patch files 2016-05-26 11:36:11 -05:00
pathspec.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
pathspec.h
pool.c Add a new build flag to disable the pool allocator and pass all git_pool_malloc calls straight to git__malloc 2016-01-12 16:08:38 -05:00
pool.h pool: provide macro to statically initialize git_pool 2016-08-05 10:57:13 +02:00
posix.c odb_loose: fsync tests 2017-02-28 13:27:49 +00:00
posix.h odb_loose: fsync tests 2017-02-28 13:27:49 +00:00
pqueue.c pqueue: resolve possible NULL pointer dereference 2016-10-28 16:19:24 +02:00
pqueue.h vector, pqueue: add git_vector_reverse and git_pqueue_reverse 2016-10-06 11:04:55 +02:00
proxy.c proxy: ask the user for credentials if necessary 2016-04-19 13:54:19 +02:00
proxy.h proxy: ask the user for credentials if necessary 2016-04-19 13:54:19 +02:00
push.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
push.h Tell the git_transport about the custom_headers 2015-09-08 14:02:33 -04:00
rebase.c Merge pull request #4030 from libgit2/ethomson/fsync 2017-03-22 20:29:22 +00:00
refdb_fs.c Merge pull request #4163 from pks-t/pks/submodules-with-worktrees 2017-03-22 20:32:55 +00:00
refdb_fs.h
refdb.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
refdb.h Introduce reference transactions 2014-09-30 15:44:32 +02:00
reflog.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
reflog.h
refs.c Fix: make reflog include "(merge)" for merge commits 2017-02-27 23:53:12 +00:00
refs.h symbolic ref target validation: fixups 2017-01-21 23:45:23 +00:00
refspec.c refspec: do not set empty rhs for fetch refspecs 2016-08-04 13:54:19 +02:00
refspec.h
remote.c Fixing a code style issue 2017-02-10 07:59:22 -07:00
remote.h Drop extra_http_headers from git_remote 2015-09-08 14:01:57 -04:00
repo_template.h
repository.c Honor core.fsyncObjectFiles 2017-03-02 09:11:33 +00:00
repository.h Honor core.fsyncObjectFiles 2017-03-02 09:11:33 +00:00
reset.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
revert.c repository: rename path_repository and path_gitlink 2017-02-13 11:07:52 +01:00
revparse.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
revwalk.c Skip uninteresting commits in revwalk timesort iterator 2017-03-09 14:01:10 +01:00
revwalk.h Reorder some khash declarations 2015-03-11 02:36:11 +01:00
settings.c fsync: call it "synchronous" object writing 2017-02-28 13:29:01 +00:00
sha1_lookup.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
sha1_lookup.h
signature.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
signature.h Introduce git_rebase_commit 2014-10-26 22:59:19 -04:00
socket_stream.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
socket_stream.h Add an OpenSSL IO stream 2014-12-10 01:17:41 +01:00
sortedcache.c strmap: remove GIT__USE_STRMAP macro 2017-02-17 11:41:06 +01:00
sortedcache.h
stash.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
status.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
status.h
stransport_stream.c stransport: do not use git_stream_free on uninitialized stransport 2016-08-09 08:38:54 +02:00
stransport_stream.h Add a SecureTransport TLS channel 2015-04-23 17:39:51 +02:00
stream.h net: use proxy options struct in the stream config 2016-04-19 13:54:19 +02:00
strmap.c map: remove *map_free macros 2017-03-20 09:01:18 +01:00
strmap.h map: remove *map_free macros 2017-03-20 09:01:18 +01:00
strnlen.h strnlen() is only available from Visual Studio 2005+ 2014-07-06 09:22:24 +02:00
submodule.c Merge pull request #4163 from pks-t/pks/submodules-with-worktrees 2017-03-22 20:32:55 +00:00
submodule.h Allow for caching of submodules. 2017-01-20 17:33:56 -05:00
sysdir.c Introduce git_sysdir_expand_global_file 2017-03-23 12:12:39 +00:00
sysdir.h Introduce git_sysdir_expand_global_file 2017-03-23 12:12:39 +00:00
tag.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
tag.h
thread-utils.c Fix macro redefinition warning 2015-07-15 11:40:06 +01:00
thread-utils.h Provide error on gcc < 4.1 when THREADSAFE 2017-02-22 11:21:56 +00:00
tls_stream.c stream: allow registering a user-provided TLS constructor 2015-11-03 08:10:29 -08:00
tls_stream.h Abstract away the TLS stream implementation 2015-04-23 17:39:51 +02:00
trace.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
trace.h Variadic macros is only available from Visual Studio 2005+ 2014-07-06 09:22:24 +02:00
transaction.c strmap: remove GIT__USE_STRMAP macro 2017-02-17 11:41:06 +01:00
transaction.h config: perform unlocking via git_transaction 2015-08-12 04:09:38 +02:00
transport.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
tree-cache.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
tree-cache.h index: write out the tree cache extension 2014-10-10 19:43:42 +02:00
tree.c strmap: remove GIT__USE_STRMAP macro 2017-02-17 11:41:06 +01:00
tree.h tree: drop the now-unnecessary entries vector 2016-03-22 06:21:13 -07:00
tsort.c git__*allocarray: safer realloc and malloc 2015-02-12 22:54:47 -05:00
userdiff.h Update the javascript diff driver's function pattern. 2014-10-09 22:21:34 +02:00
util.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
util.h Patch parsing from patch files 2016-05-26 11:36:11 -05:00
varint.c varint: Add varint encoding/decoding 2016-08-10 14:19:06 -04:00
varint.h varint: Add varint encoding/decoding 2016-08-10 14:19:06 -04:00
vector.c vector: do not reverse a vector if it is empty 2017-02-02 16:02:57 +01:00
vector.h vector, pqueue: add git_vector_reverse and git_pqueue_reverse 2016-10-06 11:04:55 +02:00
worktree.c worktree: write resolved paths into link files 2017-03-17 09:27:56 +01:00
worktree.h worktree: parent path should point to the working dir 2017-03-17 09:27:55 +01:00
zstream.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
zstream.h zstream: offer inflating, git_zstream_inflatebuf 2016-05-26 13:01:03 -05:00