libgit2/include/git2
Richard Ipsum 452bf57cbe Make symbolic ref target validation optional
Introduce GIT_OPT_ENABLE_SYMBOLIC_REF_TARGET_VALIDATION option.
Setting this option to 0 allows
validation of a symbolic ref's target to be bypassed.
This option is enabled by default.

This mechanism is added primarily to address a discrepancy between git
behaviour and libgit2 behaviour, whereby the former allows the symbolic
ref target to carry an arbitrary string and the latter does not, so:

    $ git symbolic-ref refs/heads/foo bar
    $ cat .git/refs/heads/foo
    ref: bar

where as attempting the same via libgit2 raises an error:

    The given reference name 'bar' is not valid

this mechanism also allows those that might want to make use of
git's more lenient treatment of symbolic ref targets to do so.
2016-08-27 18:25:02 +01:00
..
sys odb: freshen existing objects when writing 2016-08-04 15:12:04 -04:00
annotated_commit.h annotated_commit: provide a constructor from a revspec 2015-03-16 16:57:30 +01:00
attr.h Documentation fixes 2014-07-08 10:30:19 +02:00
blame.h blame: use size_t for line counts in git_blame_hunk 2015-12-01 09:02:47 +01:00
blob.h Remove traces of git_blob_create_fromchunks 2016-04-26 11:10:31 +02:00
branch.h Add annotated commit versions of reflog-modifying functions 2015-03-16 16:57:30 +01:00
buffer.h Spelling fixes 2014-12-04 21:06:59 -06:00
checkout.h documentation: improve docs for checkout_head 2016-06-15 15:23:39 -05:00
cherrypick.h Use correct Doxygen trailing comment syntax 2015-02-10 12:44:05 -07:00
clone.h Remove the callbacks struct from the remote 2015-05-13 09:46:35 +02:00
commit.h git_object_dup: introduce typesafe versions 2016-03-23 17:08:37 -04:00
common.h Make symbolic ref target validation optional 2016-08-27 18:25:02 +01:00
config.h config: add a ProgramData level 2015-10-21 15:11:18 +02:00
cred_helpers.h Escape @ in doc comment 2015-08-29 17:46:34 -06:00
describe.h Add const qualifier 2015-05-15 00:34:43 +03:00
diff.h diff: document git_diff_from_buffer 2016-08-05 20:01:52 -04:00
errors.h Introduce git_apply_patch 2016-05-26 11:36:11 -05:00
filter.h filter: add docs for streaming filters 2015-07-03 14:36:41 +02:00
global.h init: return the number of initializations 2014-12-04 20:42:27 -05:00
graph.h Add git_graph_descendant_of. 2014-01-28 19:39:14 +01:00
ignore.h update copyrights 2013-01-08 17:31:27 -06:00
index.h index: support index v4 2016-08-10 14:19:30 -04:00
indexer.h Don't redefine the same callback types, their signatures may change 2014-04-21 11:28:49 +02:00
inttypes.h Unify whitespaces to tabs 2013-05-15 20:26:55 +08:00
merge.h merge driver: allow custom default driver 2016-03-17 11:02:27 -04:00
message.h message: don't assume the comment char 2014-05-18 10:06:49 +02:00
net.h doc: add documentation to all the public structs and enums 2014-12-06 03:44:40 +01:00
notes.h note: use a git_buf to return the default namespace 2015-03-17 20:50:02 +01:00
object.h peel: reject bad queries with EINVALIDSPEC 2014-11-22 18:55:22 +01:00
odb_backend.h odb: make the writestream's size a git_off_t 2015-05-13 09:34:20 +02:00
odb.h git_odb_expand_ids: accept git_odb_expand_id array 2016-03-08 14:57:20 -05:00
oid.h Fix doc comment formatting 2015-02-10 08:31:48 -07:00
oidarray.h merge: expose multiple merge bases 2014-07-27 17:17:22 +02:00
pack.h packbuilder: size_t all the things 2016-07-24 15:49:19 -04:00
patch.h patch: git_patch_from_patchfile -> git_patch_from_buffer 2016-05-26 13:01:08 -05:00
pathspec.h pathspec: use C guards in header 2014-06-10 03:53:26 +02:00
proxy.h proxy: don't specify the protocol in the type 2016-04-19 13:54:19 +02:00
rebase.h Fix a few checkout -> rebase typos 2016-02-22 15:41:01 +01:00
refdb.h Move git_reference__alloc to include/git2/sys 2013-04-21 12:52:17 -07:00
reflog.h reflog: constify byindex 2014-09-30 15:44:32 +02:00
refs.h Allow creating copies of git_reference objects. 2016-04-22 10:34:17 -07:00
refspec.h refspec: move to git_buf for outputting strings 2014-01-27 04:44:06 +01:00
remote.h proxy: ask the user for credentials if necessary 2016-04-19 13:54:19 +02:00
repository.h Add GIT_REPOSITORY_OPEN_FROM_ENV flag to respect $GIT_* environment vars 2016-06-24 12:26:51 -07:00
reset.h Add a missing include for reset 2015-05-20 21:06:01 +02:00
revert.h Use correct Doxygen trailing comment syntax 2015-02-10 12:44:05 -07:00
revparse.h Some documentation improvements 2013-08-28 09:31:32 -07:00
revwalk.h revwalk: reword the push text 2015-04-13 18:03:03 +02:00
signature.h Introduce git_signature_from_buffer 2016-04-28 12:47:14 -04:00
stash.h Export git_stash_apply_init_options 2016-01-23 17:13:25 -08:00
status.h diff/status: introduce conflicts 2015-05-28 09:44:02 -04:00
stdint.h msvc: Properly handle inttypes.h/stdint.h 2011-10-05 16:21:16 -04:00
strarray.h Unify whitespaces to tabs 2013-05-15 20:26:55 +08:00
submodule.h submodule: Try to fetch when update fails to find the target commit in the submodule. 2016-06-28 16:08:58 -06:00
tag.h git_object_dup: introduce typesafe versions 2016-03-23 17:08:37 -04:00
trace.h Remove trace / add git_diff_perfdata struct + api 2014-05-02 09:21:33 -07:00
transaction.h transaction: rename lock() to lock_ref() 2014-10-09 16:29:30 +02:00
transport.h cred: add a free function wrapper 2015-08-19 02:23:18 +02:00
tree.h Introduce a function to create a tree based on a different one 2016-05-17 17:41:05 +02:00
types.h Rename FALLBACK to UNSPECIFIED 2015-06-25 12:48:44 +02:00
version.h Bump version to 0.24.0 2016-03-03 20:20:43 +01:00