strbuf: clarify dependency

refs.h was once needed but is no longer so as of 6bab74e7fb ("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

Signed-off-by: Calvin Wan <>
Signed-off-by: Junio C Hamano <>
This commit is contained in:
Calvin Wan 2023-06-06 19:48:38 +00:00 committed by Junio C Hamano
parent 4557779660
commit 16b171fda0
1 changed files with 1 additions and 1 deletions

View File

@ -5,8 +5,8 @@
#include "gettext.h"
#include "hex.h"
#include "object-name.h"
#include "refs.h"
#include "repository.h"
#include "strbuf.h"
#include "string-list.h"
#include "utf8.h"
#include "date.h"