index
:
git.git
main
maint
master
next
seen
todo
The core git plumbing
Junio C. Hamano
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
refs.c
Age
Commit message (
Expand
)
Author
Files
Lines
2024-03-05
Merge branch 'kn/for-all-refs'
Junio C Hamano
1
-0
/
+48
2024-03-05
Merge branch 'jk/reflog-special-cases-fix'
Junio C Hamano
1
-35
/
+30
2024-02-26
read_ref_at(): special-case ref@{0} for an empty reflog
Jeff King
1
-0
/
+15
2024-02-26
get_oid_basic(): special-case ref@{n} for oldest reflog entry
Jeff King
1
-1
/
+1
2024-02-26
Revert "refs: allow @{n} to work with n-sized reflog"
Jeff King
1
-34
/
+14
2024-02-23
refs: introduce `refs_for_each_include_root_refs()`
Karthik Nayak
1
-0
/
+7
2024-02-23
refs: introduce `is_pseudoref()` and `is_headref()`
Karthik Nayak
1
-0
/
+41
2024-02-21
refs: drop unused params from the reflog iterator callback
Patrick Steinhardt
1
-4
/
+19
2024-02-21
refs: always treat iterators as ordered
Patrick Steinhardt
1
-4
/
+0
2024-02-07
refs: introduce reftable backend
Patrick Steinhardt
1
-0
/
+1
2024-01-29
Merge branch 'ps/not-so-many-refs-are-special'
Junio C Hamano
1
-28
/
+7
2024-01-26
Merge branch 'ps/worktree-refdb-initialization'
Junio C Hamano
1
-4
/
+2
2024-01-19
refs: redefine special refs
Patrick Steinhardt
1
-26
/
+7
2024-01-19
refs: convert MERGE_AUTOSTASH to become a normal pseudo-ref
Patrick Steinhardt
1
-1
/
+0
2024-01-19
refs: convert AUTO_MERGE to become a normal pseudo-ref
Patrick Steinhardt
1
-1
/
+0
2024-01-16
Merge branch 'ps/refstorage-extension'
Junio C Hamano
1
-9
/
+25
2024-01-08
refs: prepare `refs_init_db()` for initializing worktree refs
Patrick Steinhardt
1
-4
/
+2
2024-01-02
Merge branch 'ps/pseudo-refs'
Junio C Hamano
1
-3
/
+56
2024-01-02
setup: start tracking ref storage format
Patrick Steinhardt
1
-2
/
+2
2024-01-02
refs: refactor logic to look up storage backends
Patrick Steinhardt
1
-9
/
+25
2023-12-14
bisect: consistently write BISECT_EXPECTED_REV via the refdb
Patrick Steinhardt
1
-1
/
+2
2023-12-14
refs: complete list of special refs
Patrick Steinhardt
1
-2
/
+52
2023-12-14
refs: propagate errno when reading special refs fails
Patrick Steinhardt
1
-1
/
+3
2023-11-17
refs: deduplicate code to delete references
Patrick Steinhardt
1
-3
/
+45
2023-07-25
Merge branch 'jk/unused-parameter'
Junio C Hamano
1
-1
/
+1
2023-07-21
Merge branch 'tb/refs-exclusion-and-packed-refs'
Junio C Hamano
1
-26
/
+59
2023-07-13
do_for_each_ref_helper(): mark unused repository parameter
Jeff King
1
-1
/
+1
2023-07-10
refs.h: implement `hidden_refs_to_excludes()`
Taylor Blau
1
-0
/
+24
2023-07-10
refs.h: let `for_each_namespaced_ref()` take excluded patterns
Taylor Blau
1
-2
/
+3
2023-07-10
revision.h: store hidden refs in a `strvec`
Taylor Blau
1
-5
/
+6
2023-07-10
refs: plumb `exclude_patterns` argument throughout
Taylor Blau
1
-13
/
+19
2023-07-10
refs.c: rename `ref_filter`
Jeff King
1
-7
/
+8
2023-07-05
git-compat-util: move alloc macros to git-compat-util.h
Calvin Wan
1
-1
/
+0
2023-07-05
treewide: remove unnecessary includes for wrapper.h
Calvin Wan
1
-1
/
+0
2023-06-21
object-store-ll.h: split this header out of object-store.h
Elijah Newren
1
-1
/
+1
2023-06-21
git-compat-util.h: remove unneccessary include of wildmatch.h
Elijah Newren
1
-0
/
+1
2023-06-21
repository: remove unnecessary include of path.h
Elijah Newren
1
-0
/
+1
2023-05-12
pack-refs: teach --exclude option to exclude refs from being packed
John Cai
1
-2
/
+2
2023-04-11
treewide: remove cache.h inclusion due to object-name.h changes
Elijah Newren
1
-1
/
+1
2023-04-11
object-name.h: move declarations for object-name.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-04-11
treewide: be explicit about dependence on advice.h
Elijah Newren
1
-0
/
+1
2023-04-04
Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...
Junio C Hamano
1
-1
/
+1
2023-03-28
post-cocci: adjust comments for recent repo_* migration
Ævar Arnfjörð Bjarmason
1
-1
/
+1
2023-03-21
setup.h: move declarations for setup.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-03-21
environment.h: move declarations for environment.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-03-21
wrapper.h: move declarations for wrapper.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-03-21
treewide: be explicit about dependence on gettext.h
Elijah Newren
1
-0
/
+1
2023-03-21
treewide: remove unnecessary cache.h inclusion from a few headers
Elijah Newren
1
-1
/
+1
2023-03-17
Merge branch 'en/header-cleanup'
Junio C Hamano
1
-1
/
+3
2023-02-27
Merge branch 'jk/shorten-unambiguous-ref-wo-sscanf'
Junio C Hamano
1
-45
/
+48
2023-02-23
cache.h: remove dependence on hex.h; make other files include it explicitly
Elijah Newren
1
-0
/
+1
2023-02-23
alloc.h: move ALLOC_GROW() functions from cache.h
Elijah Newren
1
-1
/
+2
2023-02-15
shorten_unambiguous_ref(): avoid sscanf()
Jeff King
1
-35
/
+43
2023-02-15
shorten_unambiguous_ref(): use NUM_REV_PARSE_RULES constant
Jeff King
1
-14
/
+8
2023-02-15
shorten_unambiguous_ref(): avoid integer truncation
Jeff King
1
-2
/
+3
2022-12-13
ls-refs: use repository parameter to iterate refs
Jeff King
1
-4
/
+5
2022-11-17
refs: get rid of global list of hidden refs
Patrick Steinhardt
1
-10
/
+4
2022-11-17
refs: fix memory leak when parsing hideRefs config
Patrick Steinhardt
1
-1
/
+1
2022-09-19
refs: unify parse_worktree_ref() and ref_type()
Han-Wen Nienhuys
1
-25
/
+51
2022-09-14
Merge branch 'ab/unused-annotation'
Junio C Hamano
1
-6
/
+6
2022-09-14
Merge branch 'jk/unused-annotation'
Junio C Hamano
1
-9
/
+14
2022-09-01
git-compat-util.h: use "UNUSED", not "UNUSED(var)"
Ævar Arnfjörð Bjarmason
1
-6
/
+6
2022-08-19
hashmap: mark unused callback parameters
Jeff King
1
-1
/
+1
2022-08-19
refs: mark unused reflog callback parameters
Jeff King
1
-4
/
+6
2022-08-19
refs: mark unused each_ref_fn parameters
Jeff King
1
-4
/
+7
2022-08-05
refs: use ref_namespaces for replace refs base
Derrick Stolee
1
-0
/
+1
2022-08-05
refs: add array of ref namespaces
Derrick Stolee
1
-0
/
+83
2022-08-05
refs: allow "HEAD" as decoration filter
Derrick Stolee
1
-3
/
+8
2022-04-25
clone: die() instead of BUG() on bad refs
Derrick Stolee
1
-2
/
+4
2022-04-13
Revert "Merge branch 'ps/avoid-unnecessary-hook-invocation-with-packed-refs'"
Junio C Hamano
1
-8
/
+3
2022-03-17
refs debug: add a wrapper for "read_symbolic_ref"
Ævar Arnfjörð Bjarmason
1
-12
/
+1
2022-03-16
Merge branch 'ps/fetch-mirror-optim'
Junio C Hamano
1
-0
/
+17
2022-03-13
Merge branch 'ps/fetch-atomic'
Junio C Hamano
1
-0
/
+16
2022-03-01
refs: add ability for backends to special-case reading of symbolic refs
Patrick Steinhardt
1
-0
/
+17
2022-03-01
Merge branch 'ps/fetch-atomic' into ps/fetch-mirror-optim
Junio C Hamano
1
-0
/
+16
2022-02-25
Merge branch 'ab/date-mode-release'
Junio C Hamano
1
-0
/
+1
2022-02-18
Merge branch 'ps/avoid-unnecessary-hook-invocation-with-packed-refs'
Junio C Hamano
1
-3
/
+8
2022-02-17
refs: add interface to iterate over queued transactional updates
Patrick Steinhardt
1
-0
/
+16
2022-02-16
date API: create a date.h, split from cache.h
Ævar Arnfjörð Bjarmason
1
-0
/
+1
2022-01-26
refs API: remove "failure_errno" from refs_resolve_ref_unsafe()
Ævar Arnfjörð Bjarmason
1
-34
/
+17
2022-01-17
refs: allow skipping the reference-transaction hook
Patrick Steinhardt
1
-0
/
+3
2022-01-17
refs: allow passing flags when beginning transactions
Patrick Steinhardt
1
-3
/
+5
2022-01-14
Merge branch 'ab/refs-errno-cleanup'
Junio C Hamano
1
-2
/
+0
2022-01-13
refs API: use "failure_errno", not "errno"
Ævar Arnfjörð Bjarmason
1
-2
/
+0
2022-01-10
Merge branch 'hn/refs-debug-update'
Junio C Hamano
1
-2
/
+4
2022-01-03
Merge branch 'ns/tmp-objdir'
Junio C Hamano
1
-1
/
+1
2021-12-22
refs: centralize initialization of the base ref_store.
Han-Wen Nienhuys
1
-2
/
+4
2021-12-15
Merge branch 'hn/allow-bogus-oid-in-ref-tests'
Junio C Hamano
1
-3
/
+4
2021-12-10
Merge branch 'hn/create-reflog-simplify'
Junio C Hamano
1
-5
/
+4
2021-12-10
Merge branch 'jk/refs-g11-workaround'
Junio C Hamano
1
-0
/
+7
2021-12-08
tmp-objdir: disable ref updates when replacing the primary odb
Neeraj Singh
1
-1
/
+1
2021-12-07
refs: introduce REF_SKIP_REFNAME_VERIFICATION flag
Han-Wen Nienhuys
1
-3
/
+4
2021-11-29
Merge branch 'ab/refs-errno-cleanup'
Junio C Hamano
1
-58
/
+66
2021-11-22
refs: drop force_create argument of create_reflog API
Han-Wen Nienhuys
1
-5
/
+4
2021-11-19
refs: work around gcc-11 warning with REF_HAVE_NEW
Jeff King
1
-0
/
+7
2021-10-25
Merge branch 'jt/no-abuse-alternate-odb-for-submodules'
Junio C Hamano
1
-8
/
+24
2021-10-16
refs API: post-migration API renaming [2/2]
Ævar Arnfjörð Bjarmason
1
-8
/
+8
2021-10-16
refs API: post-migration API renaming [1/2]
Ævar Arnfjörð Bjarmason
1
-14
/
+1
2021-10-16
refs API: don't expose "errno" in run_transaction_hook()
Ævar Arnfjörð Bjarmason
1
-1
/
+4
2021-10-16
refs API: make expand_ref() & repo_dwim_log() not set errno
Ævar Arnfjörð Bjarmason
1
-5
/
+10
2021-10-16
refs API: make resolve_ref_unsafe() not set errno
Ævar Arnfjörð Bjarmason
1
-2
/
+4
2021-10-16
refs API: make refs_ref_exists() not set errno
Ævar Arnfjörð Bjarmason
1
-1
/
+3
2021-10-16
refs API: make refs_resolve_refdup() not set errno
Ævar Arnfjörð Bjarmason
1
-2
/
+3
2021-10-16
refs API: make resolve_gitlink_ref() not set errno
Ævar Arnfjörð Bjarmason
1
-2
/
+3
2021-10-16
refs API: remove refs_read_ref_full() wrapper
Ævar Arnfjörð Bjarmason
1
-11
/
+9
2021-10-16
refs API: make refs_rename_ref_available() static
Ævar Arnfjörð Bjarmason
1
-19
/
+0
2021-10-16
refs API: make parse_loose_ref_contents() not set errno
Han-Wen Nienhuys
1
-3
/
+5
2021-10-16
refs API: make refs_read_raw_ref() not set errno
Han-Wen Nienhuys
1
-8
/
+16
2021-10-16
refs API: add a version of refs_resolve_ref_unsafe() with "errno"
Ævar Arnfjörð Bjarmason
1
-9
/
+27
2021-10-13
Merge branch 'ab/config-based-hooks-1'
Junio C Hamano
1
-0
/
+1
2021-10-11
Merge branch 'jk/ref-paranoia'
Junio C Hamano
1
-22
/
+20
2021-10-08
refs: teach arbitrary repo support to iterators
Jonathan Tan
1
-1
/
+2
2021-10-08
refs: plumb repo into ref stores
Jonathan Tan
1
-7
/
+22
2021-10-06
Merge branch 'ab/retire-refs-unused-funcs'
Junio C Hamano
1
-5
/
+0
2021-09-28
refs.[ch]: remove unused ref_storage_backend_exists()
Ævar Arnfjörð Bjarmason
1
-5
/
+0
2021-09-27
refs: drop "broken" flag from for_each_fullref_in()
Jeff King
1
-16
/
+6
2021-09-27
repack, prune: drop GIT_REF_PARANOIA settings
Jeff King
1
-0
/
+2
2021-09-27
refs: turn on GIT_REF_PARANOIA by default
Jeff King
1
-1
/
+1
2021-09-27
refs: omit dangling symrefs when using GIT_REF_PARANOIA
Jeff King
1
-4
/
+8
2021-09-27
refs-internal.h: reorganize DO_FOR_EACH_* flag documentation
Jeff King
1
-4
/
+6
2021-09-27
hook.[ch]: move find_hook() from run-command.c to hook.c
Ævar Arnfjörð Bjarmason
1
-0
/
+1
2021-08-25
refs: make errno output explicit for read_raw_ref_fn
Han-Wen Nienhuys
1
-1
/
+1
2021-08-25
refs API: remove OID argument to reflog_expire()
Ævar Arnfjörð Bjarmason
1
-4
/
+4
2021-08-25
refs: make repo_dwim_log() accept a NULL oid
Ævar Arnfjörð Bjarmason
1
-2
/
+3
2021-07-16
Merge branch 'hn/refs-iterator-peel-returns-boolean'
Junio C Hamano
1
-1
/
+1
2021-05-20
refs: make explicit that ref_iterator_peel returns boolean
Han-Wen Nienhuys
1
-1
/
+1
2021-05-10
Merge branch 'bc/hash-transition-interop-part-1'
Junio C Hamano
1
-2
/
+2
2021-04-27
hash: provide per-algorithm null OIDs
brian m. carlson
1
-2
/
+2
2021-04-13
lookup_unknown_object(): take a repository argument
Jeff King
1
-1
/
+1
2021-03-13
use CALLOC_ARRAY
René Scharfe
1
-2
/
+2
2021-02-05
Merge branch 'tb/ls-refs-optim'
Junio C Hamano
1
-0
/
+87
2021-02-03
Merge branch 'jk/peel-iterated-oid'
Junio C Hamano
1
-23
/
+6
2021-01-22
refs: expose 'for_each_fullref_in_prefixes'
Taylor Blau
1
-0
/
+87
2021-01-21
refs: switch peel_ref() to peel_iterated_oid()
Jeff King
1
-23
/
+6
2021-01-11
refs: allow @{n} to work with n-sized reflog
Denton Liu
1
-14
/
+32
2021-01-10
refs: factor out set_read_ref_cutoffs()
Denton Liu
1
-17
/
+17
2020-12-13
init: provide useful advice about init.defaultBranch
Johannes Schindelin
1
-1
/
+17
2020-12-13
get_default_branch_name(): prepare for showing some advice
Johannes Schindelin
1
-3
/
+3
2020-10-23
tests: start moving to a different default main branch name
Johannes Schindelin
1
-1
/
+4
2020-09-22
Merge branch 'hn/refs-trace-backend'
Junio C Hamano
1
-0
/
+1
2020-09-09
Merge branch 'jt/interpret-branch-name-fallback'
Junio C Hamano
1
-10
/
+10
2020-09-09
refs: add GIT_TRACE_REFS debugging mechanism
Han-Wen Nienhuys
1
-0
/
+1
2020-09-02
wt-status: tolerate dangling marks
Jonathan Tan
1
-5
/
+9
2020-09-02
refs: move dwim_ref() to header file
Jonathan Tan
1
-5
/
+0
2020-09-02
sha1-name: replace unsigned int with option struct
Jonathan Tan
1
-1
/
+2
2020-08-31
Merge branch 'ps/ref-transaction-hook'
Junio C Hamano
1
-9
/
+2
2020-08-31
Merge branch 'hn/refs-pseudorefs'
Junio C Hamano
1
-1
/
+1
2020-08-27
Merge branch 'hn/refs-fetch-head-is-special'
Junio C Hamano
1
-1
/
+27
2020-08-25
refs: remove lookup cache for reference-transaction hook
Patrick Steinhardt
1
-9
/
+2
2020-08-21
refs: make refs_ref_exists public
Han-Wen Nienhuys
1
-1
/
+1
2020-08-19
refs: read FETCH_HEAD and MERGE_HEAD generically
Han-Wen Nienhuys
1
-1
/
+27
2020-08-17
Merge branch 'hn/reftable-prep-part-2'
Junio C Hamano
1
-117
/
+10
2020-08-17
Merge branch 'ps/ref-transaction-hook'
Junio C Hamano
1
-1
/
+1
2020-08-10
Merge branch 'jk/strvec'
Junio C Hamano
1
-4
/
+4
2020-08-07
refs: fix interleaving hook calls with reference-transaction hook
Patrick Steinhardt
1
-1
/
+1
2020-08-01
Merge branch 'hn/reftable' into master
Junio C Hamano
1
-1
/
+0
2020-07-31
refs: move the logic to add \t to reflog to the files backend
Han-Wen Nienhuys
1
-1
/
+0
2020-07-30
Merge branch 'hn/reftable' into master
Junio C Hamano
1
-9
/
+41
2020-07-28
strvec: convert remaining callers away from argv_array name
Jeff King
1
-3
/
+3
2020-07-28
strvec: rename files from argv-array to strvec
Jeff King
1
-1
/
+1
2020-07-27
Make HEAD a PSEUDOREF rather than PER_WORKTREE.
Han-Wen Nienhuys
1
-4
/
+3
2020-07-27
Modify pseudo refs through ref backend storage
Han-Wen Nienhuys
1
-113
/
+7
2020-07-10
reflog: cleanse messages in the refs.c layer
Junio C Hamano
1
-9
/
+41
2020-07-06
Merge branch 'js/default-branch-name'
Junio C Hamano
1
-0
/
+30
2020-07-06
Merge branch 'ak/commit-graph-to-slab'
Junio C Hamano
1
-1
/
+1
2020-06-24
init: allow setting the default for the initial branch name via the config
Don Goodman-Wilson
1
-0
/
+30
2020-06-19
refs: implement reference transaction hook
Patrick Steinhardt
1
-2
/
+74
2020-06-17
object: drop parsed_object_pool->commit_count
Abhishek Kumar
1
-1
/
+1
2020-04-28
Merge branch 'ds/log-exclude-decoration-config'
Junio C Hamano
1
-44
/
+0
2020-04-22
Merge branch 'jc/missing-ref-store-fix'
Junio C Hamano
1
-4
/
+4
2020-04-16
log-tree: make ref_filter_match() a helper method
Derrick Stolee
1
-44
/
+0
2020-04-09
repository: mark the "refs" pointer as private
Jeff King
1
-4
/
+4
2019-10-07
hashmap_entry: remove first member requirement from docs
Eric Wong
1
-1
/
+1
2019-10-07
hashmap_cmp_fn takes hashmap_entry params
Eric Wong
1
-3
/
+8
2019-10-07
hashmap_get{,_from_hash} return "struct hashmap_entry *"
Eric Wong
1
-1
/
+4
2019-10-07
hashmap_put takes "struct hashmap_entry *"
Eric Wong
1
-1
/
+4
2019-10-07
hashmap_entry_init takes "struct hashmap_entry *"
Eric Wong
1
-1
/
+1
2019-06-20
object: convert lookup_unknown_object() to use object_id
Jeff King
1
-1
/
+1
2019-06-13
Merge branch 'nd/worktree-name-sanitization'
Junio C Hamano
1
-20
/
+90
2019-05-15
worktree add: sanitize worktree names
Nguyễn Thái Ngọc Duy
1
-20
/
+90
2019-04-08
refs.c: remove the_repo from read_ref_at()
Nguyễn Thái Ngọc Duy
1
-3
/
+4
2019-04-08
refs.c: add repo_dwim_log()
Nguyễn Thái Ngọc Duy
1
-6
/
+15
2019-04-08
refs.c: add repo_dwim_ref()
Nguyễn Thái Ngọc Duy
1
-3
/
+9
2019-04-08
refs.c: remove the_repo from expand_ref()
Nguyễn Thái Ngọc Duy
1
-4
/
+6
2019-04-08
refs.c: remove the_repo from substitute_branch_name()
Nguyễn Thái Ngọc Duy
1
-4
/
+5
2019-04-08
refs.c: add refs_shorten_unambiguous_ref()
Nguyễn Thái Ngọc Duy
1
-2
/
+9
2019-04-08
refs.c: add refs_ref_exists()
Nguyễn Thái Ngọc Duy
1
-1
/
+6
2019-01-08
convert has_sha1_file() callers to has_object_file()
Jeff King
1
-1
/
+1
2018-11-18
Merge branch 'ra/rev-parse-exclude-glob'
Junio C Hamano
1
-0
/
+4
2018-11-13
Merge branch 'nd/per-worktree-ref-iteration'
Junio C Hamano
1
-1
/
+23
2018-11-13
refs: fix some exclude patterns being ignored
Rafael Ascensão
1
-0
/
+4
2018-10-22
refs: new ref types to make per-worktree refs visible to all worktrees
Nguyễn Thái Ngọc Duy
1
-0
/
+21
2018-10-16
Merge branch 'ds/commit-graph-with-grafts'
Junio C Hamano
1
-7
/
+41
2018-10-07
Add a place for (not) sharing stuff between worktrees
Nguyễn Thái Ngọc Duy
1
-0
/
+1
2018-10-07
refs.c: indent with tabs, not spaces
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2018-08-29
convert "oidcmp() != 0" to "!oideq()"
Jeff King
1
-4
/
+4
2018-08-21
refs.c: upgrade for_each_replace_ref to be a each_repo_ref_fn callback
Stefan Beller
1
-5
/
+4
2018-08-21
refs.c: migrate internal ref iteration to pass thru repository argument
Stefan Beller
1
-2
/
+37
2018-08-17
Merge branch 'jt/refspec-dwim-precedence-fix'
Junio C Hamano
1
-5
/
+13
2018-08-15
Merge branch 'nd/i18n'
Junio C Hamano
1
-20
/
+20
[next]