From: Jakub Narebski Date: Sun, 10 Dec 2006 12:25:47 +0000 (+0100) Subject: gitweb: Add generic git_object subroutine to display object of any type X-Git-Tag: v1.5.0-rc0~82^2~5 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/ca94601c8fcc4ddda4b48f05c748b3d52c54809c?ds=inline;hp=ca94601c8fcc4ddda4b48f05c748b3d52c54809c gitweb: Add generic git_object subroutine to display object of any type Add generic "object" view implemented in git_object subroutine, which is used to display object of any type; to be more exact it redirects to the view of correct type: "blob", "tree", "commit" or "tag". To identify object you have to provide either hash (identifier of an object), or (in the case of tree and blob objects) hash of commit object (hash_base) and path (file_name). Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano ---