switch: no worktree status unless real branch switch happens
[gitweb.git] / pkt-line.c
index d4b71d3e82b0e54ef4105748fdfdc15b438badfb..60329b301b6bbeae88d66bf687a8b5a55beae02e 100644 (file)
@@ -117,7 +117,7 @@ void packet_buf_delim(struct strbuf *buf)
        strbuf_add(buf, "0001", 4);
 }
 
-static void set_packet_header(char *buf, const int size)
+void set_packet_header(char *buf, const int size)
 {
        static char hexchar[] = "0123456789abcdef";