#define USE_THE_REPOSITORY_VARIABLE
#include "git-compat-util.h"
#include "color.h"
#include "config.h"
#include "editor.h"
#include "gettext.h"
#include "sideband.h"
#include "help.h"
#include "pkt-line.h"
#include "write-or-die.h"
struct keyword_entry { … };
static struct keyword_entry keywords[] = …;
static int use_sideband_colors(void)
{ … }
void list_config_color_sideband_slots(struct string_list *list, const char *prefix)
{ … }
static void maybe_colorize_sideband(struct strbuf *dest, const char *src, int n)
{ … }
#define DISPLAY_PREFIX …
#define ANSI_SUFFIX …
#define DUMB_SUFFIX …
int demultiplex_sideband(const char *me, int status,
char *buf, int len,
int die_on_error,
struct strbuf *scratch,
enum sideband_type *sideband_type)
{ … }
void send_sideband(int fd, int band, const char *data, ssize_t sz, int packet_max)
{ … }