]> git.ipfire.org Git - thirdparty/git.git/commit - sha1_name.c
sha1_name: add get_sha1_with_context()
authorClément Poulain <clement.poulain@ensimag.imag.fr>
Wed, 9 Jun 2010 17:02:06 +0000 (19:02 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 18 Jun 2010 16:41:29 +0000 (09:41 -0700)
commit573285e55265ccedab5507c47ebd4357f360093f
tree54c1fdbb6e6c347d2df115a51996c60e4f6a285d
parent37d29e1051ef8406d21f8b284a659080fcfe3f72
sha1_name: add get_sha1_with_context()

Textconv is defined by the diff driver, which is associated with a pathname,
not a blob. This fonction permits to know the context for the sha1 you're
looking for, especially his pathname

Signed-off-by: Clément Poulain <clement.poulain@ensimag.imag.fr>
Signed-off-by: Diane Gasselin <diane.gasselin@ensimag.imag.fr>
Signed-off-by: Axel Bonnet <axel.bonnet@ensimag.imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
sha1_name.c