Comments (1)
Thank you for your report! This seems like a useful thing.
In 5f42ccd, I fixed a more general issue where there's no indicator for failure from git rev-list
, and no upstream is a "failure" mode that trips this. I added an indicator for this, so you can customize this indicator to your liking (perhaps just to a single space?).
The more general question is relevant throughout this script in general (what is worth reporting up to the user vs trying to fall back, swallowing silently, etc.). If there are more requests similar to this, we ought to revisit this for a more principled and unified approach. I think this might be sufficient for now.
Please reopen if you think there's some more to be done for this feature.
from posh-git-sh.
Related Issues (20)
- When will posh-git-sh retrieve git status automatically? HOT 2
- Can posh-git-sh work for iterm2 terminal? HOT 4
- ZSH HOT 5
- Consider Numeric Indicator of Commits Ahead/Behind HOT 1
- output='' error information will show in shell prompt HOT 1
- Strange $17 at the end of the prompt HOT 7
- acceptance tests and continuous testing HOT 1
- Show conflicting and unstaged state (! and ~) HOT 1
- Bash 5 warning: ignored null byte in input HOT 1
- zsh instructions don't appear to work in macOS Catalina HOT 2
- Very slow compared to Powershell posh-git HOT 7
- zsh : issue with escape sequence introduced by #47
- Unstaged changes don't have exclamation HOT 2
- 1
- Please add a license file HOT 2
- break Python virtualenv display HOT 3
- Don't display anything, when there is no upstream
- simple instructions for zsh
- Shell option `failglob` results in errors during prompt rendering HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from posh-git-sh.