summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-04-11 00:41:55 -0700
committerJunio C Hamano <gitster@pobox.com>2023-04-11 08:52:10 -0700
commit8876ea83a74b45046c3dabdd5f55f07852bb98ae (patch)
tree461f6da7d42283afcaa08e07389747d94a583b77 /builtin/commit.c
parentb6fdc44c8441d04c6659252cdf9adae240339e17 (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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions