summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)Author
2016-10-12cocci: refactor common patterns to use xstrdup_or_null()Junio C Hamano
2016-08-01pass constants as first argument to st_mult()René Scharfe
2016-06-20do_for_each_ref(): reimplement using reference iterationMichael Haggerty
2016-06-13ref_transaction_update(): check refname_is_safe() at a minimumMichael Haggerty
2016-06-13add_update(): initialize the whole ref_updateMichael Haggerty
2016-06-13ref_transaction_create(): disallow recursive pruningMichael Haggerty
2016-06-13refs: make error messages more consistentMichael Haggerty
2016-05-05refname_is_safe(): insist that the refname already be normalizedMichael Haggerty
2016-05-05refname_is_safe(): don't allow the empty stringMichael Haggerty
2016-05-05refname_is_safe(): use skip_prefix()Michael Haggerty
2016-04-10refs: move resolve_ref_unsafe into common codeDavid Turner
2016-04-10refs: move for_each_*ref* functions into common codeDavid Turner
2016-04-10refs: move head_ref{,_submodule} to the common codeDavid Turner
2016-02-22use st_add and st_mult for allocation size computationJeff King
2016-02-22convert trivial cases to FLEX_ARRAY macrosJeff King
2016-02-22use xmallocz to avoid size arithmeticJeff King
2015-12-10Merge branch 'bc/object-id'Junio C Hamano
2015-12-08Merge branch 'dt/refs-backend-pre-vtable'Junio C Hamano
2015-11-20Remove get_object_hash.brian m. carlson
2015-11-20Add several uses of get_object_hash.brian m. carlson
2015-11-20refs: break out ref conflict checksDavid Turner
2015-11-20refs: split filesystem-based refs code into a new fileMichael Haggerty
2015-11-20refs/refs-internal.h: new header fileMichael Haggerty
2015-11-20refname_is_safe(): improve docstringMichael Haggerty
2015-11-20pack_if_possible_fn(): use ref_type() instead of is_per_worktree_ref()Michael Haggerty
2015-11-20copy_msg(): rename to copy_reflog_msg()David Turner
2015-11-20verify_refname_available(): new functionRonnie Sahlberg
2015-11-20verify_refname_available(): rename functionRonnie Sahlberg
2015-11-05hideRefs: add support for matching full refsLukas Fleischer
2015-10-20Merge branch 'jk/war-on-sprintf'Junio C Hamano
2015-10-05Merge branch 'kn/for-each-tag'Junio C Hamano
2015-10-05use strbuf_complete to conditionally append slashJeff King
2015-10-05avoid sprintf and strcpy with flex arraysJeff King
2015-09-25resolve_ref: use strbufs for internal buffersJeff King
2015-09-25convert trivial sprintf / strcpy calls to xsnprintfJeff King
2015-09-17ref-filter: add option to filter out tags, branches and remotesKarthik Nayak
2015-09-01refs: make refs/bisect/* per-worktreeDavid Turner
2015-08-25Merge branch 'mh/tempfile'Junio C Hamano
2015-08-25Merge branch 'dt/refs-pseudo'Junio C Hamano
2015-08-19Merge branch 'jk/git-path'Junio C Hamano
2015-08-19Merge branch 'jk/negative-hiderefs'Junio C Hamano
2015-08-11pseudoref: check return values from read_ref()David Turner
2015-08-10refs.c: remove_empty_directories can take a strbufJeff King
2015-08-10refs.c: avoid git_path assignment in lock_ref_sha1_basicJeff King
2015-08-10refs.c: avoid repeated git_path calls in rename_tmp_logJeff King
2015-08-10refs.c: simplify strbufs in reflog setup and writingJeff King
2015-08-10refs.c: remove extra git_path calls from read_loose_refsJeff King
2015-08-10prefer mkpathdup to mkpath in assignmentsJeff King
2015-08-10prefer git_pathdup to git_path in some possibly-dangerous casesJeff King
2015-08-10lockfile: add accessor get_lock_file_path()Michael Haggerty