diff options
author | Dmitry Potapov <dpotapov@gmail.com> | 2008-08-03 18:36:21 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-03 13:33:06 -0700 |
commit | 39702431500b76425f047209c9e9b2aae7e92b00 (patch) | |
tree | ff5326506a125c988f8010c826e7a355bb72525d /t/t0021-conversion.sh | |
parent | use parse_options() in git hash-object (diff) | |
download | tgif-39702431500b76425f047209c9e9b2aae7e92b00.tar.xz |
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>
Diffstat (limited to 't/t0021-conversion.sh')
0 files changed, 0 insertions, 0 deletions