projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set HTTP user agent to git/GIT_VERSION
[git.git]
/
blame.c
diff --git
a/blame.c
b/blame.c
index
9c97aec
..
98f9992
100644
(file)
--- 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);
info->buf = read_sha1_file(info->sha1, type, &info->size);
- assert(!strcmp(type,
"blob"
));
+ assert(!strcmp(type,
blob_type
));
}
/* For debugging only */
}
/* For debugging only */
@@
-748,10
+748,11
@@
int main(int argc, const char **argv)
struct commit_info ci;
const char *buf;
int max_digits;
struct commit_info ci;
const char *buf;
int max_digits;
-
size_
t longest_file, longest_author;
+
in
t longest_file, longest_author;
int found_rename;
const char* prefix = setup_git_directory();
int found_rename;
const char* prefix = setup_git_directory();
+ git_config(git_default_config);
for(i = 1; i < argc; i++) {
if(options) {
for(i = 1; i < argc; i++) {
if(options) {