LastContinue / snorin

"Opinionated" (lazy) port of the Oh-My-Zsh "Sorin" theme for the Fish Shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing repo information when first creating orphan branch

LastContinue opened this issue · comments

I discovered this when adding the assets branch. When you first make an --orphan branch, some of the Git information isn't available and causes an error

printf: Expected at least 1 args, got only 0

once you make a commit, the Git information shows up properly.

(I rarely use --orphan so I'm not sure what the desired behavior is here, I'll need to check with zsh sorin, but it's not a good look to have that type of message coming up)

I may have fixed this in 72aba46 but will keep open for a couple of days in case any curious person runs across the same issue