commit | 39702431500b76425f047209c9e9b2aae7e92b00 | [log] [tgz] |
---|---|---|
author | Dmitry Potapov <dpotapov@gmail.com> | Sun Aug 03 18:36:21 2008 +0400 |
committer | Junio C Hamano <gitster@pobox.com> | Sun Aug 03 13:33:06 2008 -0700 |
tree | ff5326506a125c988f8010c826e7a355bb72525d | |
parent | 548601adcc638d96486e0f2a3dd399d4ca215eca [diff] |
add --path option to git hash-object The --path option allows us to pretend as if the contents being hashed came from the specified path, and affects which input filter is used via the attributes mechanism. This is useful for hashing a temporary file whose name is different from the path that is meant to have the hashed contents. Signed-off-by: Dmitry Potapov <dpotapov@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>