diff options
author | Elijah Newren <newren@gmail.com> | 2023-04-11 10:41:55 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-11 18:52:10 +0300 |
commit | 8876ea83a74b45046c3dabdd5f55f07852bb98ae (patch) | |
tree | 461f6da7d42283afcaa08e07389747d94a583b77 /http-push.c | |
parent | b6fdc44c8441d04c6659252cdf9adae240339e17 (diff) |
object.h: move some inline functions and defines from cache.h
The object_type() inline function is very tied to the enum object_type
declaration within object.h, and just seemed to make more sense to live
there. That makes S_ISGITLINK and some other defines make sense to go
with it, as well as the create_ce_mode() and canon_mode() inline
functions. Move all these inline functions and defines from cache.h to
object.h.
Signed-off-by: Elijah Newren <newren@gmail.com>
Acked-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http-push.c')
0 files changed, 0 insertions, 0 deletions