fix --branch combined with --unlocked or --locked

Since it's using git ls-tree anyway, can just look at the file modes to see
if they're unlocked or are symlinks.
This commit is contained in:
Joey Hess 2021-03-02 13:46:12 -04:00
parent cbf94fd13d
commit a14001785e
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 21 additions and 14 deletions

View file

@ -80,3 +80,5 @@ Thanks in advance.
[[!meta author=kyle]]
[[!tag projects/datalad]]
> [[fixed|done]] --[[Joey]]