gitweb: simplify git_get_hash_by_path
authorJakub Narebski <jnareb@gmail.com>
Sat, 29 Jul 2006 20:55:01 +0000 (22:55 +0200)
committerJunio C Hamano <junkio@cox.net>
Mon, 31 Jul 2006 01:30:10 +0000 (18:30 -0700)
commitdda754f7d4fa1bccd9f3349d73304856144a7cd2
treedef2868e263738555c7c8061bf0ecb72d3c1e79b
parentb9182987a80f7e820cbe1f8c7c4dc26f8586e8cd
gitweb: simplify git_get_hash_by_path

Simplify git_get_hash_by_path by using git-ls-tree to do path
limiting, instead of finding correct ttree and parsing unconstrained
git-ls-tree output.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.cgi