git-lfs/git
Olivier Monnier f86997f863 Fix 'git lfs fetch' with a sha1 ref
The commit 39676192da53261efd441ccf0c67c85a341ae1a1
introduced a regression in the capability to fetch a
sha1 ref.
The command 'git lfs fetch origin <sha1>' was returning
following error: 'Invalid ref argument: [<sha1>]'.

This is due to the fact that 'git rev-parse --symbolic-full-name <ref>'
returns an empty content if the ref is a sha1.

Signed-off-by: Olivier Monnier <olivier.monnier@intel.com>
2016-06-28 09:37:26 +02:00
..
git_test.go Fix 'git lfs fetch' with a sha1 ref 2016-06-28 09:37:26 +02:00
git.go Fix 'git lfs fetch' with a sha1 ref 2016-06-28 09:37:26 +02:00