Closed alankyshum closed 6 years ago
Could you please add a screen shot of before and after. Thanks :)
@supercrabtree sure, more than willing to! I have edited the description.
IMO, this is useful when working on multiple repos and want to make sure they are from the correct branch.
Hi sorry for delay
I tested this and works great except for when a folder contains a mix of repo and non repo directories. I was getting all the non-repos decorated with the previous repo branch. You can see this bug in your screenshots. It was because theREPOBRANCH
needed to be reset on each iteration.
Also I don't think the colour should be blue, as that is the default for directories. I think just default foreground color should be okay for now.
I submitted a PR to your branch with these changes, if you are happy you can merge them, and then I will merge this.
Thanks for this, really nice feature.
SYMLINK_TARGET
is printed. Since it's not available to all lines, I've moved the space to the variable itself.$REPOBRANCH
Before
After