1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-03-28 13:20:01 +01:00

pkt-line.h: move declarations for pkt-line.c functions from cache.h

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Elijah Newren 2023-04-22 20:17:14 +00:00 committed by Junio C Hamano
parent 9b5041f647
commit b388633c5c
7 changed files with 7 additions and 3 deletions

View File

@ -4,6 +4,7 @@
#include "setup.h"
#include "strvec.h"
#include "parse-options.h"
#include "pkt-line.h"
#include "cache.h"
#include "bundle.h"

View File

@ -39,6 +39,7 @@
#include "setup.h"
#include "connected.h"
#include "packfile.h"
#include "pkt-line.h"
#include "list-objects-filter-options.h"
#include "hook.h"
#include "bundle.h"

View File

@ -29,6 +29,7 @@
#include "utf8.h"
#include "packfile.h"
#include "pager.h"
#include "pkt-line.h"
#include "list-objects-filter-options.h"
#include "commit-reach.h"
#include "branch.h"

View File

@ -3,6 +3,7 @@
#include "gettext.h"
#include "hex.h"
#include "transport.h"
#include "pkt-line.h"
#include "ref-filter.h"
#include "remote.h"
#include "refs.h"

View File

@ -14,6 +14,7 @@
#include "remote.h"
#include "transport.h"
#include "parse-options.h"
#include "pkt-line.h"
#include "submodule.h"
#include "submodule-config.h"
#include "send-pack.h"

View File

@ -593,9 +593,6 @@ int df_name_compare(const char *name1, size_t len1, int mode1,
int name_compare(const char *name1, size_t len1, const char *name2, size_t len2);
int cache_name_stage_compare(const char *name1, int len1, int stage1, const char *name2, int len2, int stage2);
/* pkt-line.c */
void packet_trace_identity(const char *prog);
/* add */
/*
* return 0 if success, 1 - if addition of a file failed and

View File

@ -246,4 +246,6 @@ void packet_writer_error(struct packet_writer *writer, const char *fmt, ...);
void packet_writer_delim(struct packet_writer *writer);
void packet_writer_flush(struct packet_writer *writer);
void packet_trace_identity(const char *prog);
#endif