Download:
child 70:b2ed3aee8024
parent 68:c90c3504fbb3
69:3e6ac54990dd
Anton Shestakov <engored@ya.ru>, Sun, 21 Dec 2014 17:55:50 +0800
git prompt: show merges with conflicts

1 файлов изменено, 3 вставок(+), 0 удалений(-) [+]
.bash_prompt file | annotate | diff | comparison | revisions
--- a/.bash_prompt Sun Dec 21 17:16:28 2014 +0800
+++ b/.bash_prompt Sun Dec 21 17:55:50 2014 +0800
@@ -129,6 +129,9 @@
if [[ $STATUS == *'Changes not staged'* ]] ; then
local UNSTAGED="$P?"
fi
+ if [[ $STATUS == *'You have unmerged paths.'* ]] ; then
+ local MERGE="$R+$MERGEREV"
+ fi
if [[ $STATUS == *'All conflicts fixed but you are still merging.'* ]] ; then
local MERGE="$B+$MERGEREV"
fi