Skip to content

Commit

Permalink
RRemove mixed declarations and code
Browse files Browse the repository at this point in the history
  • Loading branch information
ldennington committed Sep 22, 2021
1 parent ddc637f commit 32ab4a9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions builtin/blame.c
Original file line number Diff line number Diff line change
Expand Up @@ -895,16 +895,15 @@ int cmd_blame(int argc, const char **argv, const char *prefix)
OPT_END()
};

prepare_repo_settings(the_repository);
the_repository->settings.command_requires_full_index = 0;

struct parse_opt_ctx_t ctx;
int cmd_is_annotate = !strcmp(argv[0], "annotate");
struct range_set ranges;
unsigned int range_i;
long anchor;
const int hexsz = the_hash_algo->hexsz;

prepare_repo_settings(the_repository);
the_repository->settings.command_requires_full_index = 0;
setup_default_color_by_age();
git_config(git_blame_config, &output_option);
repo_init_revisions(the_repository, &revs, NULL);
Expand Down

0 comments on commit 32ab4a9

Please sign in to comment.