Files
git/builtin
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-11-22 13:55:20 -08:00
2017-03-17 13:50:25 -07:00
2017-03-17 13:50:25 -07:00
2017-03-17 13:50:25 -07:00
2017-03-17 13:50:23 -07:00
2017-03-17 13:50:25 -07:00
2017-03-01 15:09:17 -08:00
2016-11-22 13:13:16 -08:00
2016-09-29 15:42:18 -07:00
2017-01-18 15:12:15 -08:00
2017-03-17 13:50:25 -07:00
2017-03-17 13:50:25 -07:00
2017-01-31 13:14:56 -08:00
2017-03-17 13:50:25 -07:00
2017-03-24 13:07:37 -07:00
2017-01-23 18:51:56 -08:00