Git Status Porcelain
Summary 💡
I use the command git --no-optional-locks status --porcelain=2 --branch to help populate my terminal prompt with information about the current get repo. It would be very useful if this functionality were implemented in gitoxide. Thank you for your consideration.
Motivation 🔦
Since this command is run as part of my terminal prompt. It is run very frequently and the performance of it is very noticeable. If this feature were to be implemented and be even more performant, I think this would be a great quality of life improvement for me and likely many others using this command in their prompt.
Thanks for sharing the use-case!
This looks like gix status could quite easily implement it, in essence it's a change to what it computes and how it's presented.
# branch.oid 8da491e9f02c3bd5fcee8721ed5bfd011fa4fedb
# branch.head fix-1850
# branch.upstream origin/fix-1850
# branch.ab +0 -0
It's notable that the ahead-behind information can't currently be computed, but it's something I'd love to see soon.
Thanks for the quick reply! And that sounds promising!