]> git.proxmox.com Git - libgit2.git/commit - tests/network/remote/defaultbranch.c
Remove the signature from ref-modifying functions
authorCarlos Martín Nieto <cmn@dwim.me>
Wed, 7 Jan 2015 12:23:05 +0000 (12:23 +0000)
committerCarlos Martín Nieto <cmn@dwim.me>
Tue, 3 Mar 2015 13:40:50 +0000 (14:40 +0100)
commit659cf2029f322ea876d663d85783b48945227e8f
tree435e9185c38d96656e21db83fc736b5294499b10
parent99b68a2aecfaa24f252f265d61b230b8e2576dd2
Remove the signature from ref-modifying functions

The signature for the reflog is not something which changes
dynamically. Almost all uses will be NULL, since we want for the
repository's default identity to be used, making it noise.

In order to allow for changing the identity, we instead provide
git_repository_set_ident() and git_repository_ident() which allow a user
to override the choice of signature.
91 files changed:
CHANGELOG.md
examples/network/fetch.c
include/git2/branch.h
include/git2/clone.h
include/git2/rebase.h
include/git2/refs.h
include/git2/remote.h
include/git2/repository.h
include/git2/reset.h
include/git2/submodule.h
src/branch.c
src/clone.c
src/commit.c
src/push.c
src/push.h
src/rebase.c
src/refs.c
src/refs.h
src/remote.c
src/repository.c
src/repository.h
src/reset.c
src/stash.c
src/submodule.c
src/tag.c
src/transports/local.c
tests/checkout/crlf.c
tests/checkout/tree.c
tests/checkout/typechange.c
tests/cherrypick/workdir.c
tests/clone/nonetwork.c
tests/commit/write.c
tests/describe/t6120.c
tests/diff/rename.c
tests/fetchhead/nonetwork.c
tests/index/names.c
tests/index/reuc.c
tests/merge/merge_helpers.c
tests/merge/workdir/dirty.c
tests/merge/workdir/simple.c
tests/merge/workdir/submodules.c
tests/merge/workdir/trivial.c
tests/network/fetchlocal.c
tests/network/remote/defaultbranch.c
tests/network/remote/local.c
tests/network/remote/remotes.c
tests/network/remote/rename.c
tests/online/fetch.c
tests/online/fetchhead.c
tests/online/push.c
tests/perf/helper__perf__do_merge.c
tests/rebase/abort.c
tests/rebase/iterator.c
tests/rebase/merge.c
tests/rebase/setup.c
tests/refs/branches/create.c
tests/refs/branches/delete.c
tests/refs/branches/ishead.c
tests/refs/branches/iterator.c
tests/refs/branches/move.c
tests/refs/branches/upstream.c
tests/refs/crashes.c
tests/refs/create.c
tests/refs/createwithlog.c
tests/refs/delete.c
tests/refs/foreachglob.c
tests/refs/overwrite.c
tests/refs/pack.c
tests/refs/races.c
tests/refs/reflog/reflog.c
tests/refs/rename.c
tests/refs/revparse.c
tests/refs/settargetwithlog.c
tests/refs/setter.c
tests/refs/unicode.c
tests/refs/update.c
tests/repo/head.c
tests/repo/headtree.c
tests/repo/repo_helpers.c
tests/repo/state.c
tests/reset/hard.c
tests/reset/mixed.c
tests/reset/reset_helpers.c
tests/reset/soft.c
tests/revert/workdir.c
tests/stash/save.c
tests/status/submodules.c
tests/submodule/init.c
tests/submodule/lookup.c
tests/submodule/update.c
tests/threads/refdb.c