When a repository with only one empty commit is imported into diffusion, the following error is displayed:
Unable to Retrieve Paths Expected "<mode> <type> <hash> <size>\t<name>", for ls-tree of "whateverthefirstsha1is:", got:
To reproduce the issue, create a git repository
git init git checkout -b master git remote add origin your_remote git commit --allow-empty -m "First empty commit" git push origin master
Then import it into diffusion.
The expected result is the previous error message
components versions:
phab : f59ebf4c09598e5f02657a4037c822b64a306646
libphutil: 0fa7efbf09d75b7803ef54bd6c72ee3c69a964e4
arcanist: aeb374b3334891d436334ac382bb63e2e4620c95