summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Wan <calvinwan@google.com>2023-05-12 17:15:15 +0000
committerJunio C Hamano <gitster@pobox.com>2023-05-12 12:36:00 -0700
commit88da41d9ff10cdda01830778b620a95eafe5a9eb (patch)
treee466fc4b95d6769ed4f73498bade0e9839ff8757
parent9a5bb4efa0c8c76a0438f5a6d6fdc4df2667e366 (diff)
downloadgit-88da41d9ff10cdda01830778b620a95eafe5a9eb.tar.gz
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>
-rw-r--r--strbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strbuf.c b/strbuf.c
index 178d75f250..d5978fee4e 100644
--- a/strbuf.c
+++ b/strbuf.c
@@ -3,7 +3,7 @@
#include "environment.h"
#include "gettext.h"
#include "hex.h"
-#include "refs.h"
+#include "strbuf.h"
#include "string-list.h"
#include "utf8.h"
#include "date.h"