Skip to content
Snippets Groups Projects
Commit b96646e0 authored by Markus Blatt's avatar Markus Blatt
Browse files

[dunecontrol] Adds detection of pending merges to status.

parent ec06322d
No related branches found
No related tags found
No related merge requests found
......@@ -305,7 +305,7 @@ run_default_status () {
if test "$is_git" ; then
changed=$(git status --porcelain | grep -E "^ *M|^ *A|^ *D|^ *R|^ *C" | wc -l)
collisions=$(git status --porcelain | grep -E "^ *U"| wc -l)
pending=$(git status | grep -E "^\# Your branch is ahead of " | wc -l)
pending=$(git status | grep -E "^\# Your branch is ahead |^\# Your branch is behind " | wc -l)
fi
color=$green
text="no changes"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment