summaryrefslogtreecommitdiff
path: root/mru.h
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2017-11-05 08:42:05 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-11-06 01:31:07 (GMT)
commit5ac95fee3d6f77867a627a713f9aa72dc32be18f (patch)
tree1652ec936c0d942e734c152c72f4365bdd13c654 /mru.h
parent62c72d1fd0aa39429011b76ff5b1953a561e6581 (diff)
downloadgit-5ac95fee3d6f77867a627a713f9aa72dc32be18f.zip
git-5ac95fee3d6f77867a627a713f9aa72dc32be18f.tar.gz
git-5ac95fee3d6f77867a627a713f9aa72dc32be18f.tar.bz2
refs: tidy up and adjust visibility of the `ref_update` flags
The constants used for `ref_update::flags` were rather disorganized: * The definitions in `refs.h` were not close to the functions that used them. * Maybe constants were defined in `refs-internal.h`, making them visible to the whole refs module, when in fact they only made sense for the files backend. * Their documentation wasn't very consistent and partly still referred to sha1s rather than oids. * The numerical values followed no rational scheme Fix all of these problems. The main functional improvement is that some constants' visibility is now limited to `files-backend.c`. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mru.h')
0 files changed, 0 insertions, 0 deletions