author | Jakub Narebski <jnareb@gmail.com> | |
Sun, 10 Dec 2006 12:25:47 +0000 (13:25 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 12 Dec 2006 08:55:23 +0000 (00:55 -0800) | ||
commit | ca94601c8fcc4ddda4b48f05c748b3d52c54809c | |
tree | e991f10cbfa31cfa49db92c529933e8939ee41bd | tree | snapshot |
parent | e33fba4c5a33bce748d2c8a1c7a38b78a1fd2cda | commit | diff |
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 <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
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 <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl | diff | blob | history |