brian m. carlson
9c44ea4403
builtin/receive-pack: convert portions to struct object_id
...
Convert some hardcoded constants into uses of parse_oid_hex.
Additionally, convert all uses of struct command, and miscellaneous
other functions necessary for that. This work is necessary to be able
to convert sha1_array_append later on.
To avoid needing to specify a constant, reject shallow lines with the
wrong length instead of simply ignoring them.
Note that in queue_command we are guaranteed to have a NUL-terminated
buffer or at least one byte of overflow that we can safely read, so the
linelen check can be elided. We would die in such a case, but not read
invalid memory.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2017-03-28 09:59:33 -07:00
..
2016-12-07 11:31:59 -08:00
2017-02-20 22:04:47 -08:00
2016-09-07 12:59:42 -07:00
2016-11-22 13:55:20 -08:00
2017-03-26 22:08:21 -07:00
2017-03-17 13:50:25 -07:00
2017-02-22 10:12:15 -08:00
2017-02-01 13:46:53 -08:00
2016-12-07 11:31:59 -08:00
2017-03-14 15:23:18 -07:00
2017-02-27 13:57:16 -08:00
2017-02-22 10:12:15 -08:00
2016-09-07 12:59:43 -07:00
2017-02-20 01:11:26 -08:00
2016-09-15 13:17:32 -07:00
2017-02-22 10:12:15 -08:00
2017-03-17 13:50:25 -07:00
2017-03-17 13:50:25 -07:00
2017-03-26 22:08:21 -07:00
2017-03-15 12:08:10 -07:00
2017-02-22 10:12:15 -08:00
2017-03-02 11:12:53 -08:00
2017-01-31 13:14:59 -08:00
2017-02-22 10:12:15 -08:00
2016-12-05 14:59:29 -08:00
2017-02-22 10:12:15 -08:00
2017-03-17 13:50:23 -07:00
2017-03-17 13:50:25 -07:00
2016-09-13 15:45:45 -07:00
2016-09-08 21:35:55 -07:00
2017-03-16 11:33:43 -07:00
2017-03-08 14:38:41 -08:00
2016-06-13 10:37:48 -07:00
2017-03-01 15:09:17 -08:00
2017-02-13 12:06:10 -08:00
2017-01-08 18:04:17 -08:00
2016-11-22 13:13:16 -08:00
2016-06-06 11:14:43 -07:00
2017-02-22 10:12:16 -08:00
2017-03-26 22:08:21 -07:00
2016-09-15 13:17:32 -07:00
2017-03-26 22:08:21 -07:00
2016-09-29 15:42:18 -07:00
2017-01-18 15:12:15 -08:00
2017-01-23 18:33:17 -08:00
2017-03-17 13:50:25 -07:00
2017-03-17 13:50:25 -07:00
2017-03-26 22:08:21 -07:00
2017-02-22 10:12:15 -08:00
2017-02-22 10:12:15 -08:00
2017-03-26 22:08:21 -07:00
2017-01-31 13:14:56 -08:00
2017-01-11 13:17:16 -08:00
2017-02-09 14:55:26 -08:00
2017-03-28 09:59:33 -07:00
2017-02-22 10:12:15 -08:00
2016-10-17 11:36:50 -07:00
2017-02-27 13:57:18 -08:00
2016-12-29 13:45:37 -08:00
2017-03-17 13:50:25 -07:00
2017-02-20 22:04:47 -08:00
2017-03-26 22:08:21 -07:00
2017-03-21 15:07:16 -07:00
2017-03-17 13:50:28 -07:00
2017-02-13 14:33:32 -08:00
2017-03-24 13:07:37 -07:00
2017-02-27 13:57:16 -08:00
2017-01-23 18:51:56 -08:00
2016-11-21 11:00:38 -08:00
2017-02-28 13:46:22 -08:00
2017-02-20 22:04:47 -08:00
2017-02-27 13:57:18 -08:00
2016-08-24 12:31:05 -07:00
2017-03-01 13:24:21 -08:00
2017-02-20 22:04:47 -08:00
2016-11-22 13:55:20 -08:00
2017-01-17 16:10:22 -08:00
2017-02-10 12:52:25 -08:00