Commit b63b99d9 authored by Dima Kogan's avatar Dima Kogan Committed by David Caldwell
Browse files

(autodetect-patch-directory-root) doesn't get confused by symlinks

Prior to this patch you could have a scenario where

- The filename in the first hunk refers to a real file
- The emacs buffer returned by (buffer-file-name) is a symlink to this file

Since (autodetect-patch-directory-root) comparse paths, this would make the
comparison fail in the wrong place, and (autodetect-patch-directory-root) would
return a wrong result
parent 36f94757
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment