summaryrefslogtreecommitdiff
path: root/builtin/rerere.c
diff options
context:
space:
mode:
authorAndrew Sayers <andrew-git@pileofstuff.org>2010-06-17 21:32:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-06-24 17:02:45 (GMT)
commit6d158cba282f22fa1548af1188f78042fed30aed (patch)
treea368447a78bbb28e341f43661188f9e70c395d9b /builtin/rerere.c
parentf69c501832ecd6880602c55565508e70c3a013d5 (diff)
downloadgit-6d158cba282f22fa1548af1188f78042fed30aed.zip
git-6d158cba282f22fa1548af1188f78042fed30aed.tar.gz
git-6d158cba282f22fa1548af1188f78042fed30aed.tar.bz2
bash completion: Support "divergence from upstream" messages in __git_ps1
Add a notification in the command prompt specifying whether (and optionally how far) your branch has diverged from its upstream. This is especially helpful in small teams that very frequently (forget to) push to each other. Support git-svn upstream detection as a special case, as migrators from centralised version control systems are especially likely to forget to push. Support for other types of upstream than SVN should be easy to add if anyone is so inclined. Signed-off-by: Andrew Sayers <andrew-git@pileofstuff.org> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/rerere.c')
0 files changed, 0 insertions, 0 deletions