]> git.ipfire.org Git - thirdparty/git.git/commit - pretty.c
object-name: move related functions to object-name
authorCalvin Wan <calvinwan@google.com>
Tue, 6 Jun 2023 19:48:41 +0000 (19:48 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Jun 2023 20:49:36 +0000 (13:49 -0700)
commitf94018506c6103331a0183d78b206f39cf739ec3
tree4d46cf1c422bf44be5d035ed73068df9184970b1
parentf89854362cbe60371605dac3ae542109218ef1f3
object-name: move related functions to object-name

Move object-name-related functions from strbuf.[ch] to object-name.[ch]
so that strbuf is focused on string manipulation routines with minimal
dependencies.

dir.h relied on the forward declration of the repository struct in
strbuf.h. Since that is removed in this patch, add the forward
declaration to dir.h.

Signed-off-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.h
object-name.c
object-name.h
pretty.c
strbuf.c
strbuf.h