strbuf: clarify dependency

refs.h was once needed but is no longer so as of 6bab74e7fb8 ("strbuf: move strbuf_branchname to sha1_name.c", 2010-11-06). strbuf.h was included thru refs.h, so removing refs.h requires strbuf.h to be added back. Signed-off-by: Calvin Wan <calvinwan@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Calvin Wan committed Jun 6, 2023 at 19:48 UTC 16b171fda03d9186e58fade7d727d38613938097
1 file changed +1 -1
strbuf.c
+1 -1
@@ -5,8 +5,8 @@
5 #include "gettext.h"
6 #include "hex.h"
7 #include "object-name.h"
8 -#include "refs.h"
8 #include "repository.h"
9 +#include "strbuf.h"
10 #include "string-list.h"
11 #include "utf8.h"
12 #include "date.h"