diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-12-09 13:38:05 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-09 13:38:05 -0800 |
commit | 3d6e0f745e5b958387c9116ff5ba6247b990e6e7 (patch) | |
tree | f4b3b7e72272491fa01df6c8a750f4bcdf648f1a /t/t4013/diff.diff_--patch-with-stat_-r_initial..side | |
parent | get_sha1: support relative path ":path" syntax (diff) | |
download | tgif-3d6e0f745e5b958387c9116ff5ba6247b990e6e7.tar.xz |
get_sha1: teach ":$n:<path>" the same relative path logic
We taught the object name parser to take ":./<path>", ":../<path>", etc.
and understand them to be relative to the current working directory.
Given that ":<path>" is just a short-hand for ":0:<path>" (i.e. "take
stage #0 of that path"), we should allow ":$n:<path>" to interpret them
the same way.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_--patch-with-stat_-r_initial..side')
0 files changed, 0 insertions, 0 deletions