summaryrefslogtreecommitdiff
path: root/refs.c
Commit message (Expand)AuthorAgeFilesLines
* refs: move resolve_ref_unsafe into common codeDavid Turner2016-04-101-0/+74
* refs: move for_each_*ref* functions into common codeDavid Turner2016-04-101-0/+52
* refs: move head_ref{,_submodule} to the common codeDavid Turner2016-04-101-0/+23
* use st_add and st_mult for allocation size computationJeff King2016-02-221-1/+1
* convert trivial cases to FLEX_ARRAY macrosJeff King2016-02-221-4/+2
* use xmallocz to avoid size arithmeticJeff King2016-02-221-1/+1
* Merge branch 'bc/object-id'Junio C Hamano2015-12-101-1/+1
|\
| * Remove get_object_hash.brian m. carlson2015-11-201-1/+1
| * Add several uses of get_object_hash.brian m. carlson2015-11-201-1/+1
* | Merge branch 'dt/refs-backend-pre-vtable'Junio C Hamano2015-12-081-3669/+42
|\ \ | |/ |/|
| * refs: break out ref conflict checksdt/refs-backend-pre-vtableDavid Turner2015-11-201-0/+44
| * refs: split filesystem-based refs code into a new fileMichael Haggerty2015-11-201-3535/+4
| * refs/refs-internal.h: new header fileMichael Haggerty2015-11-201-165/+9
| * refname_is_safe(): improve docstringMichael Haggerty2015-11-201-6/+10
| * pack_if_possible_fn(): use ref_type() instead of is_per_worktree_ref()Michael Haggerty2015-11-201-3/+1
| * copy_msg(): rename to copy_reflog_msg()David Turner2015-11-201-2/+2
| * verify_refname_available(): new functionRonnie Sahlberg2015-11-201-26/+40
| * verify_refname_available(): rename functionRonnie Sahlberg2015-11-201-22/+22
* | hideRefs: add support for matching full refsLukas Fleischer2015-11-051-3/+12
|/
* Merge branch 'jk/war-on-sprintf'Junio C Hamano2015-10-201-37/+39
|\
| * use strbuf_complete to conditionally append slashJeff King2015-10-051-2/+1
| * avoid sprintf and strcpy with flex arraysJeff King2015-10-051-4/+4
| * resolve_ref: use strbufs for internal buffersJeff King2015-09-251-27/+30
| * convert trivial sprintf / strcpy calls to xsnprintfJeff King2015-09-251-4/+4
* | Merge branch 'kn/for-each-tag'Junio C Hamano2015-10-051-0/+9
|\ \
| * | ref-filter: add option to filter out tags, branches and remotesKarthik Nayak2015-09-171-0/+9
* | | refs: make refs/bisect/* per-worktreedt/refs-bisectionDavid Turner2015-09-011-1/+31
| |/ |/|
* | Merge branch 'mh/tempfile'Junio C Hamano2015-08-251-8/+10
|\ \
| * | lockfile: add accessor get_lock_file_path()Michael Haggerty2015-08-101-3/+3
| * | lockfile: add accessors get_lock_file_fd() and get_lock_file_fp()Michael Haggerty2015-08-101-5/+7
* | | Merge branch 'dt/refs-pseudo'Junio C Hamano2015-08-251-8/+122
|\ \ \
| * | | pseudoref: check return values from read_ref()dt/refs-pseudoDavid Turner2015-08-111-2/+5
| * | | pseudorefs: create and use pseudoref update and delete functionsDavid Turner2015-07-311-8/+93
| * | | refs: add ref_type functionDavid Turner2015-07-311-0/+26
* | | | Merge branch 'jk/git-path'Junio C Hamano2015-08-191-76/+84
|\ \ \ \ | | |_|/ | |/| |
| * | | refs.c: remove_empty_directories can take a strbufJeff King2015-08-101-19/+15
| * | | refs.c: avoid git_path assignment in lock_ref_sha1_basicJeff King2015-08-101-13/+19
| * | | refs.c: avoid repeated git_path calls in rename_tmp_logJeff King2015-08-101-7/+14
| * | | refs.c: simplify strbufs in reflog setup and writingJeff King2015-08-101-23/+15
| * | | refs.c: remove extra git_path calls from read_loose_refsJeff King2015-08-101-10/+13
| * | | prefer mkpathdup to mkpath in assignmentsJeff King2015-08-101-2/+4
| * | | prefer git_pathdup to git_path in some possibly-dangerous casesJeff King2015-08-101-6/+8
* | | | Merge branch 'jk/negative-hiderefs'Junio C Hamano2015-08-191-5/+13
|\ \ \ \ | |/ / / |/| | |
| * | | refs: support negative transfer.hideRefsjk/negative-hiderefsJeff King2015-08-071-5/+13
* | | | Merge branch 'jk/refspec-parse-wildcard'Junio C Hamano2015-08-031-19/+25
|\ \ \ \
| * | | | refs: loosen restriction on wildcard "*" refspecsjk/refspec-parse-wildcardJacob Keller2015-07-271-16/+20
| * | | | refs: cleanup comments regarding check_refname_component()Jacob Keller2015-07-271-5/+7
| * | | | Merge branch 'mh/write-refs-sooner-2.4' into maintJunio C Hamano2015-06-051-31/+82
| |\ \ \ \
* | \ \ \ \ Merge branch 'dt/refs-backend-preamble'Junio C Hamano2015-08-031-60/+109
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | |
| * | | | | refs: add REF_FORCE_CREATE_REFLOG flagDavid Turner2015-07-211-13/+21