Browse Source

Fix missing '\n' at end of git-cat-file -t output.

maint
Linus Torvalds 20 years ago
parent
commit
fa9e9c7bc4
  1. 1
      cat-file.c

1
cat-file.c

@ -21,6 +21,7 @@ int main(int argc, char **argv) @@ -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…
Cancel
Save