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
static
INSTALL -rw-r--r-- 14.4 KB
Makefile -rw-r--r-- 5.5 KB
README -rw-r--r-- 2.3 KB
gitweb.perl -rwxr-xr-x 245.7 KB

README

back to top