forked from go-gitea/gitea
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-annex tests: allow old-style annex symlinks
Previously annexObjectPath() only supported new-style git-annex-smudge files, and would reject old-style annex symlinks files as "does not appear to be annexed". This covers both cases. It also shortens the code by deferring to git-annex-contentlocation(1); there's no need to compute the hashdir nor the hashdirformat, all that is already handled.
- Loading branch information
1 parent
ca00636
commit ace51f8
Showing
1 changed file
with
16 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters