Skip to content

Commit

Permalink
blame.h: remove unnecessary includes
Browse files Browse the repository at this point in the history
The unnecessary include in the header transitively pulled in some
other headers actually needed by source files, though.  Have those
source files explicitly include the headers they need.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
newren authored and gitster committed Dec 26, 2023
1 parent c2c4138 commit bd6cc1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions blame.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
#include "object-store-ll.h"
#include "cache-tree.h"
#include "mergesort.h"
#include "commit.h"
#include "convert.h"
#include "diff.h"
#include "diffcore.h"
#include "gettext.h"
#include "hex.h"
#include "path.h"
#include "read-cache.h"
#include "revision.h"
#include "setup.h"
#include "tag.h"
#include "trace2.h"
Expand Down
3 changes: 0 additions & 3 deletions blame.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
#ifndef BLAME_H
#define BLAME_H

#include "commit.h"
#include "oidset.h"
#include "xdiff-interface.h"
#include "revision.h"
#include "prio-queue.h"
#include "diff.h"

#define PICKAXE_BLAME_MOVE 01
#define PICKAXE_BLAME_COPY 02
Expand Down

0 comments on commit bd6cc1d

Please sign in to comment.