Skip to content

Commit

Permalink
strbuf: clarify dependency
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
calvin-wan-google authored and gitster committed Jun 12, 2023
1 parent 4557779 commit 16b171f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 16b171f

Please sign in to comment.