Skip to content

Commit 16b171f

Browse files
calvin-wan-googlegitster
authored andcommitted
strbuf: clarify dependency
refs.h was once needed but is no longer so as of 6bab74e ("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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4557779 commit 16b171f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strbuf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
#include "gettext.h"
66
#include "hex.h"
77
#include "object-name.h"
8-
#include "refs.h"
98
#include "repository.h"
9+
#include "strbuf.h"
1010
#include "string-list.h"
1111
#include "utf8.h"
1212
#include "date.h"

0 commit comments

Comments
 (0)