summaryrefslogtreecommitdiff
path: root/t/t2011-checkout-invalid-head.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2012-06-21 14:09:50 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-06-22 10:20:18 -0700
commit546e0fd9e918b2ea3d9943124641d3b6af59a4fe (patch)
tree83ca9e34a696e313314729c50c69ae76e389f22b /t/t2011-checkout-invalid-head.sh
parentGit 1.7.10.5 (diff)
downloadtgif-546e0fd9e918b2ea3d9943124641d3b6af59a4fe.tar.xz
diff: handle relative paths in no-index
When diff-no-index is given a relative path to a file outside the repository, it aborts with error. However, if the file is given using an absolute path, the diff runs as expected. The two cases should be treated the same. Tests and commit message by Tim Henigan. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Tim Henigan <tim.henigan@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2011-checkout-invalid-head.sh')
0 files changed, 0 insertions, 0 deletions