Fix missing '\n' at end of git-cat-file -t output.
This commit is contained in:
parent
11e7d5c594
commit
fa9e9c7bc4
@ -21,6 +21,7 @@ int main(int argc, char **argv)
|
||||
buf = type;
|
||||
size = strlen(type);
|
||||
type[size] = '\n';
|
||||
size++;
|
||||
}
|
||||
} else {
|
||||
buf = read_object_with_reference(sha1, argv[1], &size, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user