]> git.scripts.mit.edu Git - git.git/commit
sha1_object_info_extended: rename "status" to "type"
authorJeff King <peff@peff.net>
Fri, 12 Jul 2013 06:21:22 +0000 (02:21 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Jul 2013 17:10:03 +0000 (10:10 -0700)
commitf2f57e31f671983ef4d6272c082f9fb06daa3429
treefc6316fa64e9a319e7f343f66409f60f4cceb70d
parent25fba78d36be6297bb17aed5f3e21ed850ce3e03
sha1_object_info_extended: rename "status" to "type"

The value we get from each low-level object_info function
(e.g., loose, packed) is actually the object type (or -1 for
error). Let's explicitly call it "type", which will make
further refactorings easier to read.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_file.c