summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 11e7d5c)
raw | patch | inline | side by side (parent: 11e7d5c)
author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Mon, 2 May 2005 02:40:39 +0000 (19:40 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Mon, 2 May 2005 02:40:39 +0000 (19:40 -0700) |
cat-file.c | patch | blob | history |
diff --git a/cat-file.c b/cat-file.c
index 6bbb0ca0174265626a228b143fe348f4eb186f0c..6ff9d5576a4317020b5a42cb90846668a2a6ca40 100644 (file)
--- a/cat-file.c
+++ b/cat-file.c
buf = type;
size = strlen(type);
type[size] = '\n';
+ size++;
}
} else {
buf = read_object_with_reference(sha1, argv[1], &size, NULL);