X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=blame.c;h=98f99922a78578a84468f1296d6e56b999829659;hb=20fc9bc5e4fdd4b1f7fd98fbd2e91879f945d7e1;hp=7e88833a37f9a2b7380b96510a331cf376c99264;hpb=79f558a5fc1c471e5db926a1272fe930f24784bb;p=git.git diff --git a/blame.c b/blame.c index 7e88833a..98f99922 100644 --- a/blame.c +++ b/blame.c @@ -229,7 +229,7 @@ static void get_blob(struct commit *commit) info->buf = read_sha1_file(info->sha1, type, &info->size); - assert(!strcmp(type, "blob")); + assert(!strcmp(type, blob_type)); } /* For debugging only */ @@ -752,6 +752,7 @@ int main(int argc, const char **argv) int found_rename; const char* prefix = setup_git_directory(); + git_config(git_default_config); for(i = 1; i < argc; i++) { if(options) {