Commit b543bb1c authored by Jeffrey Smith's avatar Jeffrey Smith Committed by Junio C Hamano

blame: move scoreboard-related methods to libgit

Signed-off-by: Jeffrey Smith's avatarJeff Smith <whydoubt@gmail.com>
Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
parent 072bf432
This diff is collapsed.
......@@ -8,6 +8,11 @@
#include "prio-queue.h"
#include "diff.h"
#define PICKAXE_BLAME_MOVE 01
#define PICKAXE_BLAME_COPY 02
#define PICKAXE_BLAME_COPY_HARDER 04
#define PICKAXE_BLAME_COPY_HARDEST 010
/*
* One blob in a commit that is being suspected
*/
......@@ -157,4 +162,10 @@ extern struct blame_origin *get_origin(struct commit *commit, const char *path);
extern struct commit *fake_working_tree_commit(struct diff_options *opt, const char *path, const char *contents_from);
extern void blame_coalesce(struct blame_scoreboard *sb);
extern void blame_sort_final(struct blame_scoreboard *sb);
extern unsigned blame_entry_score(struct blame_scoreboard *sb, struct blame_entry *e);
extern void assign_blame(struct blame_scoreboard *sb, int opt);
extern const char *blame_nth_line(struct blame_scoreboard *sb, long lno);
#endif /* BLAME_H */
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment