You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone https://github.com/MadGutsBot/Empty.git (or any other empty repo)
(await repo.status()).current gives the string "No"
Contrastingly, (await repo.branchLocal()).current gives an empty string
I would expect these to give consistent results. In this case, given there are no branches, I'd expect the branch to be reported as null, although an empty string is manageable.
The text was updated successfully, but these errors were encountered:
To reproduce:
git clone https://github.com/MadGutsBot/Empty.git
(or any other empty repo)(await repo.status()).current
gives the string"No"
(await repo.branchLocal()).current
gives an empty stringI would expect these to give consistent results. In this case, given there are no branches, I'd expect the branch to be reported as
null
, although an empty string is manageable.The text was updated successfully, but these errors were encountered: