Skip to content

Commit e876e74

Browse files
jherlandgitster
authored andcommitted
Remove unnecessary code and comments on non-existing 8kB tag object restriction
Signed-off-by: Johan Herland <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 27c96c4 commit e876e74

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

mktag.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,8 @@
1212
* "object <sha1>\n" is 48 bytes, "type tag\n" at 9 bytes is the
1313
* shortest possible type-line, and "tag .\n" at 6 bytes is the
1414
* 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.
1915
*/
2016

21-
/* Some random size */
22-
#define MAXSIZE (8192)
23-
2417
/*
2518
* We refuse to tag something we can't verify. Just because.
2619
*/

0 commit comments

Comments
 (0)