@matheusbsbs / matheus-bagliano / commits / e876e74111
Fork 0

Remove unnecessary code and comments on non-existing 8kB tag object restriction

Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Johan Herland committed Jun 9, 2007 at 02:12 UTC e876e741113e63e5ee1641baddb2d537bec5ddb8
1 file changed -7
mktag.c
-7
@@ -12,15 +12,8 @@
12 * "object <sha1>\n" is 48 bytes, "type tag\n" at 9 bytes is the
13 * shortest possible type-line, and "tag .\n" at 6 bytes is the
14 * shortest single-character-tag line.
15 - *
16 - * We also artificially limit the size of the full object to 8kB.
17 - * Just because I'm a lazy bastard, and if you can't fit a signature
18 - * in that size, you're doing something wrong.
15 */
16
21 -/* Some random size */
22 -#define MAXSIZE (8192)
23 -
17 /*
18 * We refuse to tag something we can't verify. Just because.
19 */