Revision 8a342058f62d24d6ff62a0f6e81d3e60291eae94 authored by Junio C Hamano on 27 February 2014, 22:01:37 UTC, committed by Junio C Hamano on 27 February 2014, 22:01:37 UTC
All subcommands that take pathspecs mishandled an in-tree symbolic
link when given it as a full path from the root (which arguably is
a sick way to use pathspecs).  "git ls-files -s $(pwd)/RelNotes" in
our tree is an easy reproduction recipe.

* mw/symlinks:
  setup: don't dereference in-tree symlinks for absolute paths
  setup: add abspath_part_inside_repo() function
  t0060: add tests for prefix_path when path begins with work tree
  t0060: add test for prefix_path when path == work tree
  t0060: add test for prefix_path on symlinks via absolute paths
  t3004: add test for ls-files on symlinks via absolute paths
2 parent s f813f71 + 655ee9e
History
File Mode Size
.gitignore -rw-r--r-- 7 bytes
README -rw-r--r-- 9.9 KB
TEAMS -rw-r--r-- 1.7 KB
bg.po -rw-r--r-- 222.5 KB
de.po -rw-r--r-- 319.7 KB
fr.po -rw-r--r-- 314.5 KB
git.pot -rw-r--r-- 200.0 KB
is.po -rw-r--r-- 3.1 KB
it.po -rw-r--r-- 128.2 KB
pt_PT.po -rw-r--r-- 99.8 KB
sv.po -rw-r--r-- 305.2 KB
vi.po -rw-r--r-- 341.6 KB
zh_CN.po -rw-r--r-- 297.4 KB

README

back to top