libgit2/include/git2
Russell Belfer 744cc03e2b Add git_config_refresh() API to reload config
This adds a new API that allows users to reload the config if the
file has changed on disk.  A new config callback function to
refresh the config was added.

The modified time and file size are used to test if the file needs
to be reloaded (and are now stored in the disk backend object).

In writing tests, just using mtime was a problem / race, so I
wanted to check file size as well.  To support that, I extended
`git_futils_readbuffer_updated` to optionally check file size in
addition to mtime, and I added a new function `git_filebuf_stats`
to fetch the mtime and size for an open filebuf (so that the
config could be easily refreshed after a write).

Lastly, I moved some similar file checking code for attributes
into filebuf.  It is still only being used for attrs, but it
seems potentially reusable, so I thought I'd move it over.
2012-10-30 12:11:23 -07:00
..
attr.h Export git_attr_value 2012-08-11 18:14:07 -07:00
blob.h portability: Improve x86/amd64 compatibility 2012-07-24 16:10:12 +02:00
branch.h branch: introduce git_branch_is_head() 2012-10-07 21:03:51 +02:00
checkout.h Checkout progress now reports completed/total steps 2012-10-19 20:05:18 -07:00
clone.h Network progress: rename things 2012-10-24 13:29:14 -07:00
commit.h portability: Improve x86/amd64 compatibility 2012-07-24 16:10:12 +02:00
common.h Separated git_strarray from common.h. Added doxy comments. 2012-10-11 23:04:08 +11:00
config.h Add git_config_refresh() API to reload config 2012-10-30 12:11:23 -07:00
diff.h Add git_diff_patch_print 2012-10-25 11:48:39 -07:00
errors.h error: add GITERR_STASH error type 2012-10-26 21:02:06 +02:00
ignore.h Fix example in comment 2012-10-24 15:00:56 +02:00
index.h index refactoring 2012-10-29 20:04:21 -05:00
indexer.h Network progress: rename things 2012-10-24 13:29:14 -07:00
inttypes.h msvc: Properly handle inttypes.h/stdint.h 2011-10-05 16:21:16 -04:00
merge.h git_mergebase: Constness-Fix for consistency 2012-09-09 15:53:57 +02:00
message.h Make git_message_prettify return bytes written 2012-08-14 10:50:58 -07:00
net.h Update Copyright header 2012-02-13 17:11:09 +01:00
notes.h notes: slight documentation enhancements 2012-08-15 17:50:02 +02:00
object.h Make git_object_peel a bit smarter 2012-08-27 11:53:59 -07:00
odb_backend.h Expose a malloc function to 3rd party ODB backends 2012-08-27 09:59:13 -04:00
odb.h Make clear that git_odb_hashfile does not use filters 2012-09-22 01:16:10 +02:00
oid.h Working implementation of git_submodule_status 2012-08-24 11:00:27 -07:00
pack.h gsoc-pack-objects WIP 2012-10-09 21:28:31 +02:00
reflog.h reflog: fix documentation typos 2012-10-26 21:01:59 +02:00
refs.h Separated git_strarray from common.h. Added doxy comments. 2012-10-11 23:04:08 +11:00
refspec.h refspec: add git_refspec__free, remove git_refspec_parse 2012-09-30 11:56:37 +02:00
remote.h Merge pull request #925 from nulltoken/topic/moving-branch-updates-config 2012-10-25 10:55:03 -07:00
repository.h repo: enhance git_repository_state() detection 2012-10-27 16:45:59 +02:00
reset.h reset: add support for GIT_RESET_HARD mode 2012-09-17 10:48:28 +02:00
revparse.h Adding comment documentation for rev-parse api. 2012-05-11 11:30:46 -07:00
revwalk.h Diff iterators 2012-09-05 15:17:24 -07:00
signature.h signature: prevent angle bracket usage in identity 2012-07-11 20:40:13 +02:00
stash.h stash: add git_stash_drop() 2012-10-26 22:11:15 +02:00
status.h Merge pull request #968 from arrbee/diff-support-typechange 2012-10-17 14:14:51 -07:00
stdint.h msvc: Properly handle inttypes.h/stdint.h 2011-10-05 16:21:16 -04:00
strarray.h Separated git_strarray from common.h. Added doxy comments. 2012-10-11 23:04:08 +11:00
submodule.h Add test for diffs with submodules and bug fixes 2012-10-08 15:22:40 -07:00
tag.h Separated git_strarray from common.h. Added doxy comments. 2012-10-11 23:04:08 +11:00
threads.h Update Copyright header 2012-02-13 17:11:09 +01:00
tree.h Add complex checkout test and then fix checkout 2012-10-09 11:59:34 -07:00
types.h gsoc-pack-objects WIP 2012-10-09 21:28:31 +02:00
version.h libgit2 v0.17.0 "Lord of Diffstruction" 2012-05-19 01:40:46 +02:00