git-p4: honor lfs.storage configuration variable
authorr.burenkov <panzercheg@gmail.com>
Wed, 11 Dec 2019 17:47:23 +0000 (09:47 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Dec 2019 17:59:17 +0000 (09:59 -0800)
commitea94b16fb832d6e0bc2fb8761fd4a89555002bcc
tree41ebb67974a8e764a2b389dcc134e6097196e971
parent53a06cf39b756eddfe4a2a34da93e3d04eb7b728
git-p4: honor lfs.storage configuration variable

"git lfs" allows users to specify the custom storage location with
the configuration variable `lfs.storage`, but when interacting with
GitLFS pointers, "git p4" always uses the hardcoded default that is
the `.git/lfs/` directory, without paying attention to the
configuration.

Use the value configured in `lfs.storage`, if exists, as all the
"git" operations do, for consistency.

Signed-off-by: r.burenkov <panzercheg@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py