mirror of
https://github.com/git/git
synced 2024-08-28 12:09:19 +00:00
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 a new issue