summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
2014-07-14refs.c: verify_lock should set errno to something meaningfulLibravatar Ronnie Sahlberg1-0/+4
2014-07-14refs.c: make sure log_ref_setup returns a meaningful errnoLibravatar Ronnie Sahlberg1-8/+19
2014-07-14refs.c: add an err argument to repack_without_refsLibravatar Ronnie Sahlberg1-5/+14
2014-07-14lockfile.c: make lock_file return a meaningful errno on failureiLibravatar Ronnie Sahlberg1-0/+1
2014-07-14refs.c: add a strbuf argument to ref_transaction_commit for error loggingLibravatar Ronnie Sahlberg1-1/+5
2014-07-14refs.c: allow passing NULL to ref_transaction_freeLibravatar Ronnie Sahlberg1-0/+3
2014-07-14refs.c: constify the sha arguments for ref_transaction_create|delete|updateLibravatar Ronnie Sahlberg1-3/+4
2014-07-14refs.c: ref_transaction_commit should not free the transactionLibravatar Ronnie Sahlberg1-1/+0
2014-07-14refs.c: remove ref_transaction_rollbackLibravatar Ronnie Sahlberg1-6/+1
2014-06-16Merge branch 'dt/refs-check-refname-component-optim'Libravatar Junio C Hamano1-28/+39
2014-06-16Merge branch 'rs/read-ref-at'Libravatar Junio C Hamano1-105/+103
2014-06-16Merge branch 'jl/remote-rm-prune'Libravatar Junio C Hamano1-2/+19
2014-06-06Merge branch 'rs/reflog-exists'Libravatar Junio C Hamano1-6/+15
2014-06-05refs.c: optimize check_refname_component()Libravatar David Turner1-28/+39
2014-06-03refs.c: change read_ref_at to use the reflog iteratorsLibravatar Ronnie Sahlberg1-105/+103
2014-05-27remote prune: optimize "dangling symref" check/warningLibravatar Jens Lindström1-1/+18
2014-05-27remote: repack packed-refs once when deleting multiple refsLibravatar Jens Lindström1-1/+1
2014-05-08refs.c: add new functions reflog_exists and delete_reflogLibravatar Ronnie Sahlberg1-6/+15
2014-04-07ref_transaction_commit(): work with transaction->updates in placeLibravatar Michael Haggerty1-4/+1
2014-04-07struct ref_update: add a type fieldLibravatar Michael Haggerty1-5/+3
2014-04-07struct ref_update: add a lock fieldLibravatar Michael Haggerty1-17/+19
2014-04-07ref_transaction_commit(): simplify code using temporary variablesLibravatar Michael Haggerty1-8/+13
2014-04-07struct ref_update: store refname as a FLEX_ARRAYLibravatar Michael Haggerty1-9/+6
2014-04-07struct ref_update: rename field "ref_name" to "refname"Libravatar Michael Haggerty1-9/+9
2014-04-07refs: remove API function update_refs()Libravatar Michael Haggerty1-13/+20
2014-04-07refs: add a concept of a reference transactionLibravatar Michael Haggerty1-0/+99
2014-04-07update_refs(): fix constnessLibravatar Michael Haggerty1-1/+1
2014-04-07refs.h: rename the action_on_err constantsLibravatar Michael Haggerty1-9/+9
2014-03-18Merge branch 'sh/use-hashcpy'Libravatar Junio C Hamano1-1/+1
2014-03-06Use hashcpy() when copying object namesLibravatar Sun He1-1/+1
2014-02-20use wildmatch() directly without fnmatch() wrapperLibravatar Nguyễn Thái Ngọc Duy1-1/+1
2014-01-27Merge branch 'mh/safe-create-leading-directories'Libravatar Junio C Hamano1-24/+68
2014-01-27Merge branch 'mh/retire-ref-fetch-rules'Libravatar Junio C Hamano1-3/+3
2014-01-21rename_tmp_log(): on SCLD_VANISHED, retryLibravatar Michael Haggerty1-1/+8
2014-01-21rename_tmp_log(): limit the number of remote_empty_directories() attemptsLibravatar Michael Haggerty1-2/+2
2014-01-21rename_tmp_log(): handle a possible mkdir/rmdir raceLibravatar Michael Haggerty1-1/+10
2014-01-21rename_ref(): extract function rename_tmp_log()Libravatar Michael Haggerty1-22/+30
2014-01-21lock_ref_sha1_basic(): if locking fails with ENOENT, retryLibravatar Michael Haggerty1-1/+12
2014-01-21lock_ref_sha1_basic(): on SCLD_VANISHED, retryLibravatar Michael Haggerty1-1/+10
2014-01-14refname_match(): always use the rules in ref_rev_parse_rulesLibravatar Michael Haggerty1-3/+3
2014-01-13Merge branch 'mh/shorten-unambigous-ref'Libravatar Junio C Hamano1-31/+14
2014-01-09shorten_unambiguous_ref(): tighten up pointer arithmeticLibravatar Michael Haggerty1-2/+2
2014-01-09gen_scanf_fmt(): delete function and use snprintf() insteadLibravatar Michael Haggerty1-26/+9
2014-01-09shorten_unambiguous_ref(): introduce a new local variableLibravatar Michael Haggerty1-4/+4
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Libravatar Christian Couder1-15/+15
2013-11-01Merge branch 'sb/refs-code-cleanup'Libravatar Junio C Hamano1-7/+0
2013-10-30Merge branch 'jk/refs-c-squelch-gcc'Libravatar Junio C Hamano1-1/+1
2013-10-28refs: remove unused function invalidate_ref_cacheLibravatar Stefan Beller1-7/+0
2013-10-24silence gcc array-bounds warningLibravatar Jeff King1-1/+1
2013-10-14refs.c: spell NULL pointer as NULLLibravatar Ramsay Jones1-1/+1