git/log-tree.c

#define USE_THE_REPOSITORY_VARIABLE

#include "git-compat-util.h"
#include "commit-reach.h"
#include "config.h"
#include "diff.h"
#include "diffcore.h"
#include "environment.h"
#include "hex.h"
#include "object-name.h"
#include "object-store-ll.h"
#include "repository.h"
#include "tmp-objdir.h"
#include "commit.h"
#include "tag.h"
#include "graph.h"
#include "log-tree.h"
#include "merge-ort.h"
#include "reflog-walk.h"
#include "refs.h"
#include "replace-object.h"
#include "revision.h"
#include "string-list.h"
#include "color.h"
#include "gpg-interface.h"
#include "sequencer.h"
#include "line-log.h"
#include "help.h"
#include "range-diff.h"
#include "strmap.h"
#include "tree.h"
#include "wildmatch.h"
#include "write-or-die.h"
#include "pager.h"

static struct decoration name_decoration =;
static int decoration_loaded;
static int decoration_flags;

static char decoration_colors[][COLOR_MAXLEN] =;

static const char *color_decorate_slots[] =;

static const char *decorate_get_color(int decorate_use_color, enum decoration_type ix)
{}

define_list_config_array();

int parse_decorate_color_config(const char *var, const char *slot_name, const char *value)
{}

/*
 * log-tree.c uses DIFF_OPT_TST for determining whether to use color
 * for showing the commit sha1, use the same check for --decorate
 */
#define decorate_get_color_opt(o, ix)

void add_name_decoration(enum decoration_type type, const char *name, struct object *obj)
{}

const struct name_decoration *get_name_decoration(const struct object *obj)
{}

static int match_ref_pattern(const char *refname,
			     const struct string_list_item *item)
{}

static int ref_filter_match(const char *refname,
			    const struct decoration_filter *filter)
{}

static int add_ref_decoration(const char *refname, const char *referent UNUSED, const struct object_id *oid,
			      int flags UNUSED,
			      void *cb_data)
{}

static int add_graft_decoration(const struct commit_graft *graft,
				void *cb_data UNUSED)
{}

void load_ref_decorations(struct decoration_filter *filter, int flags)
{}

static void show_parents(struct commit *commit, int abbrev, FILE *file)
{}

static void show_children(struct rev_info *opt, struct commit *commit, int abbrev)
{}

/*
 * Do we have HEAD in the output, and also the branch it points at?
 * If so, find that decoration entry for that current branch.
 */
static const struct name_decoration *current_pointed_by_HEAD(const struct name_decoration *decoration)
{}

static void show_name(struct strbuf *sb, const struct name_decoration *decoration)
{}

/*
 * The caller makes sure there is no funny color before calling.
 * format_decorations ensures the same after return.
 */
void format_decorations(struct strbuf *sb,
			const struct commit *commit,
			int use_color,
			const struct decoration_options *opts)
{}

void show_decorations(struct rev_info *opt, struct commit *commit)
{}

void fmt_output_subject(struct strbuf *filename,
			const char *subject,
			struct rev_info *info)
{}

void fmt_output_commit(struct strbuf *filename,
		       struct commit *commit,
		       struct rev_info *info)
{}

void fmt_output_email_subject(struct strbuf *sb, struct rev_info *opt)
{}

void log_write_email_headers(struct rev_info *opt, struct commit *commit,
			     char **extra_headers_p,
			     int *need_8bit_cte_p,
			     int maybe_multipart)
{}

static void show_sig_lines(struct rev_info *opt, int status, const char *bol)
{}

static void show_signature(struct rev_info *opt, struct commit *commit)
{}

static int which_parent(const struct object_id *oid, const struct commit *commit)
{}

static int is_common_merge(const struct commit *commit)
{}

static int show_one_mergetag(struct commit *commit,
			     struct commit_extra_header *extra,
			     void *data)
{}

static int show_mergetag(struct rev_info *opt, struct commit *commit)
{}

static void next_commentary_block(struct rev_info *opt, struct strbuf *sb)
{}

static void show_diff_of_diff(struct rev_info *opt)
{}

void show_log(struct rev_info *opt)
{}

int log_tree_diff_flush(struct rev_info *opt)
{}

static int do_diff_combined(struct rev_info *opt, struct commit *commit)
{}

static void setup_additional_headers(struct diff_options *o,
				     struct strmap *all_headers)
{}

static void cleanup_additional_headers(struct diff_options *o)
{}

static int do_remerge_diff(struct rev_info *opt,
			   struct commit_list *parents,
			   struct object_id *oid)
{}

/*
 * Show the diff of a commit.
 *
 * Return true if we printed any log info messages
 */
static int log_tree_diff(struct rev_info *opt, struct commit *commit, struct log_info *log)
{}

int log_tree_commit(struct rev_info *opt, struct commit *commit)
{}