[PATCH v2] show: add --follow-symlinks option for <rev>:<path>
- From
Michael Vogt <mvo@ubuntu.com>
- Date
- Apr 16, 2018, 09:36 UTC
- Message-ID
- <20180416093625.15752-1-mvo@ubuntu.com>
- In-Reply-To
- <87fu3yg6od.fsf@evledraar.gmail.com>
Updated version of the `git show --follow-symlink` patch. This version includes the feedback from Ævar Arnfjörð Bjarmason and Stefan Beller:
- commit message updated - test fixes merged from Ævar (thanks!) - Documentation/git-show.txt clarified
It does not include a test for --follow-symlinks in the dirlink case when a file is behind a dirlink symlink. This this currently fails with a non-descriptive error message. I hope to find time to improve this error message at some point and then a test for this will be added.
It also does not include a test for a repo with symlinks when running on a system without SYMLINKS. I don't have access to such a system, sorry.