Thread (31 messages) flat view 31 messages, 10 authors, 2016-06-15

Re: [PATCH] bash completion: Support "unpushed commits" warnings in __git_ps1

From: Thomas Rast <hidden>
Date: 2016-06-15 22:48:55

Andrew Sayers wrote:
People working in small teams sometimes forget to push their changes, causing
general confusion.  A gentle reminder in the command prompt should help.
[...]
+#       there're unpushed commits, then a '!' will be shown next to
BTW, here's another idea: how about using '>' and '<' to signal being
ahead and behind upstream, resp. (and both if they diverged)?

(I think the hard question here is whether it's helpful enough to
weigh against the confusion of having it show nothing, because the
user hasn't fetched after an update on the remote...)

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help