summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
2016-06-13add_update(): initialize the whole ref_updateLibravatar Michael Haggerty1-22/+26
2016-06-13ref_transaction_create(): disallow recursive pruningLibravatar Michael Haggerty1-0/+3
2016-06-13refs: make error messages more consistentLibravatar Michael Haggerty1-4/+4
2016-05-05refname_is_safe(): insist that the refname already be normalizedLibravatar Michael Haggerty1-2/+7
2016-05-05refname_is_safe(): don't allow the empty stringLibravatar Michael Haggerty1-2/+3
2016-05-05refname_is_safe(): use skip_prefix()Libravatar Michael Haggerty1-3/+5
2016-04-10refs: move resolve_ref_unsafe into common codeLibravatar David Turner1-0/+74
2016-04-10refs: move for_each_*ref* functions into common codeLibravatar David Turner1-0/+52
2016-04-10refs: move head_ref{,_submodule} to the common codeLibravatar David Turner1-0/+23
2016-02-22use st_add and st_mult for allocation size computationLibravatar Jeff King1-1/+1
2016-02-22convert trivial cases to FLEX_ARRAY macrosLibravatar Jeff King1-4/+2
2016-02-22use xmallocz to avoid size arithmeticLibravatar Jeff King1-1/+1
2015-12-10Merge branch 'bc/object-id'Libravatar Junio C Hamano1-1/+1
2015-12-08Merge branch 'dt/refs-backend-pre-vtable'Libravatar Junio C Hamano1-3669/+42
2015-11-20Remove get_object_hash.Libravatar brian m. carlson1-1/+1
2015-11-20Add several uses of get_object_hash.Libravatar brian m. carlson1-1/+1
2015-11-20refs: break out ref conflict checksLibravatar David Turner1-0/+44
2015-11-20refs: split filesystem-based refs code into a new fileLibravatar Michael Haggerty1-3535/+4
2015-11-20refs/refs-internal.h: new header fileLibravatar Michael Haggerty1-165/+9
2015-11-20refname_is_safe(): improve docstringLibravatar Michael Haggerty1-6/+10
2015-11-20pack_if_possible_fn(): use ref_type() instead of is_per_worktree_ref()Libravatar Michael Haggerty1-3/+1
2015-11-20copy_msg(): rename to copy_reflog_msg()Libravatar David Turner1-2/+2
2015-11-20verify_refname_available(): new functionLibravatar Ronnie Sahlberg1-26/+40
2015-11-20verify_refname_available(): rename functionLibravatar Ronnie Sahlberg1-22/+22
2015-11-05hideRefs: add support for matching full refsLibravatar Lukas Fleischer1-3/+12
2015-10-20Merge branch 'jk/war-on-sprintf'Libravatar Junio C Hamano1-37/+39
2015-10-05Merge branch 'kn/for-each-tag'Libravatar Junio C Hamano1-0/+9
2015-10-05use strbuf_complete to conditionally append slashLibravatar Jeff King1-2/+1
2015-10-05avoid sprintf and strcpy with flex arraysLibravatar Jeff King1-4/+4
2015-09-25resolve_ref: use strbufs for internal buffersLibravatar Jeff King1-27/+30
2015-09-25convert trivial sprintf / strcpy calls to xsnprintfLibravatar Jeff King1-4/+4
2015-09-17ref-filter: add option to filter out tags, branches and remotesLibravatar Karthik Nayak1-0/+9
2015-09-01refs: make refs/bisect/* per-worktreeLibravatar David Turner1-1/+31
2015-08-25Merge branch 'mh/tempfile'Libravatar Junio C Hamano1-8/+10
2015-08-25Merge branch 'dt/refs-pseudo'Libravatar Junio C Hamano1-8/+122
2015-08-19Merge branch 'jk/git-path'Libravatar Junio C Hamano1-76/+84
2015-08-19Merge branch 'jk/negative-hiderefs'Libravatar Junio C Hamano1-5/+13
2015-08-11pseudoref: check return values from read_ref()Libravatar David Turner1-2/+5
2015-08-10refs.c: remove_empty_directories can take a strbufLibravatar Jeff King1-19/+15
2015-08-10refs.c: avoid git_path assignment in lock_ref_sha1_basicLibravatar Jeff King1-13/+19
2015-08-10refs.c: avoid repeated git_path calls in rename_tmp_logLibravatar Jeff King1-7/+14
2015-08-10refs.c: simplify strbufs in reflog setup and writingLibravatar Jeff King1-23/+15
2015-08-10refs.c: remove extra git_path calls from read_loose_refsLibravatar Jeff King1-10/+13
2015-08-10prefer mkpathdup to mkpath in assignmentsLibravatar Jeff King1-2/+4
2015-08-10prefer git_pathdup to git_path in some possibly-dangerous casesLibravatar Jeff King1-6/+8
2015-08-10lockfile: add accessor get_lock_file_path()Libravatar Michael Haggerty1-3/+3
2015-08-10lockfile: add accessors get_lock_file_fd() and get_lock_file_fp()Libravatar Michael Haggerty1-5/+7
2015-08-07refs: support negative transfer.hideRefsLibravatar Jeff King1-5/+13
2015-08-03Merge branch 'jk/refspec-parse-wildcard'Libravatar Junio C Hamano1-19/+25
2015-08-03Merge branch 'dt/refs-backend-preamble'Libravatar Junio C Hamano1-60/+109